Hello all,
I have a problem using a carriage return to rewind to the beginning of a line within XCode.
This small example:
std::cout << "will not see this\rwill see this" << std::flush;
std::cout << std::endl; // all done
compiled in XCode results in:
will not see this
will see this
whereas, when I compile it in the terminal using G++ I get:
will see thisthis
How can I make XCode show the latter (and expected) behavior ?
cheers Daniel