How i can do a Timer in C++?
(all for windows) In managed C++ it''s System.Timers.Timer, in MFC it''s CTimer, in Win32 it''s CreateTimer.
How accurate do you want it to? If youj sut want it down to the second you can use the time() function in ctime that retursn the nubmer of seconds that has passed since 12:00 AM January 1st 1970. If you want it down to the millisecond it depends on your platform.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement