For console it seems text is immediately sent to the console after a cout statement.. so even if you were to flush.. what is there to be flushed? All the output is where it is!.. It's confusing..