I wrote a little console application, and I want it to pause for a certain number of seconds before the cycle (a while) starts again.
I\'m working on Windows operati
On UNIX:
#include sleep(10); // 10 seconds
On Windows:
#include Sleep(10000); // 10 seconds (10000 milliseconds)
Note the difference between sleep() (UNIX) and Sleep() (Windows).
sleep()
Sleep()