How do i write over the last line in the console?
c++, console, windows
Solution
with carriage-return ("\r") you can jump back to the beginning of the current line. This will only work for terminals which have support for this feature.
After you jumped back you can just print your new status-line.
Problem
I want to show a progress bar (like wget) how do i keep writing to the last line in the console? Windows 7 vis 2005 c++