Quote:
|
Originally Posted by Xyhm
I've had problems with printf writing to the screen and not flushing afterwards. As for '\n', I've read somewhere that it makes flushing in these cases unnecessary, but I don't know why and it may very well not be true.
|
Like I said, it's true for std::endl, not for a newline character ('\n'). Strange that you had problems with that. Must have been something else. Or like DaWei said, mixing printf with cout.
@David: Thanx for clearing that up for me.