|
|
|
|
|
by freshbreath
5165 days ago
|
|
What if a program prints text without a newline at the end, then exits? It's possible and it would be confusing to not see that last line. cout >> "Hello world"; // with no endl.
Prepending the prompt with a new line might be a better idea than over-writing the current line. |
|