Std::cout only prints everything after I end the program
-
I have several std::cout statement scattered in my program for debugging, and they do not appear in the console at all while the program is running. When I end the program, they all show up at that moment. Anyone know what might cause this behavior?
-
Please disregard. I solved it.
-
You should use qDebug
-
I'm working with std strings so I thought that keeping things in STL was wise.
-
What was your solution? I am a newbie and having the same issue.
-
i forgot the << endl