timer/counter

hi,

i want to use a timer in my program that you can set on a certain time and that it wil count down to zero with exact milliseconds. I'd like to use the library time.h but i dont know how to use it.

can someone help plz?
Timers are not 100% accurate. But should be sufficient for milliseconds.

I'd look at using something like a loop with the Sleep() command, unless your willing to dive into multi-threads.
Topic archived. No new replies allowed.