I'm a newbie C programmer and am having trouble using sleep(i); whilst trying to write to a single line. Im using said function inside a for loop.
To write to the same line I use \r.
Everytime I compile and run the exe, nothing is displayed on the screen until the program has finished executing.



LinkBack URL
About LinkBacks



