
showing progress in a command-line application
You can send a carriage return before each line, WITHOUT a line
feed. That will overwrite the same line causing no downward advance of
your output.
print("\rThis line is information ");
Add extra space on the end to delete parts of lines that came
previously and which are longer than this one.
Walt Howard
Quote:
> I have no idea how to seek back in the console and rewrite the current
> progress. I am using cout to write to the console.
> Can anyone help?
> Best regards