Suggestions for Timers on Output

Im looking for some code suggestions for a C or C++ code im working on. Im trying to get the output to repeat every so often (like maybe every 5 or 10 seconds without having to hit enter each time, maybe the first time to get it started, but not after each one. I was wondering if anyone could give me an example of some lines of code that would do this
Last edited on
sleep();
use the
#include <windows.h>

Sleep(1000)
Which is 1000ms
Which means 1000 milli seconds
which i think is one second
Make sure you have the capital in sleep

POTATO!??@#
Last edited on
Topic archived. No new replies allowed.