I am trying to make a console application that download / transfer file, and I want to show the transfer progress (bytes received), but every time I use cout << bytereceived << endl; I actually made a new line. can someone help me to "rewrite" the number that has been shown in the console
Nope, that's the whole point. Using a \n will move the cursor to the next line. If you use only \r the cursor goes to the begining of the current line enabling you to write on the same line.
idos
Posted: Visual C++ General, How do I print out transfer file progress in console application?