I don't want to use QTextStream::flush() or QTextStream::endl() , i want to get the input at the same line with the prompt ...
What should i do then ?
I don't want to use QTextStream::flush() or QTextStream::endl() , i want to get the input at the same line with the prompt ...
What should i do then ?
Using QTextStream::flush() won't cause the output position to move to a new line, but it will force the output to be displayed on stdout, which I believe is what you want to occur.
I write the best type of code possible, code that I want to write, not code that someone tells me to write!
Bookmarks