I consider myself as an enthusiast in learning new things everyday, about our history and future as well as the present. My interests: Ancient History, Comparative Religion, Science and Tech, C++
I consider myself as an enthusiast in learning new things everyday, about our history and future as well as the present. My interests: Ancient History, Comparative Religion, Science and Tech, C++
Hello,
Never experience this problem, but what is even more odd is that endl do call flush as well (check en.cppreference.com/w/cpp/io/manip...)
I'm wandering what compiler/std/OS you used?
Mac OSX and gcc/g++ compiler.
Thanks, i actually forgot the endl in the program :) .
then used cout.flush() and when it started working i added the endl again.
Thanks for correcting this tip :)