How to create background timer?

Hello,
I am writing an application in C++ where in need to perform a sequence of operations based on timers. Its like i want to create timers for say 10 objects and all these timers should run in the background. Which ever object's timer goes off first will call a function. For this I will continuously monitor timers.
Can anyone pls help me how to do this. I am a beginner. Thanks in advance.
http://www.cplusplus.com/reference/clibrary/ctime/time/

you can also use #include<ctime> rather than #include<time.h>. The
time_t
is type of time. Zero point of time is Jan 1st,1970.
Topic archived. No new replies allowed.