Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Time? 1

Status
Not open for further replies.

pauiel

Programmer
Jan 19, 2004
17
US
Is there a C++ command that can be used as a timer?
 
Well it depends on the resolution you need but the functions in ctime such as time() might be of use. If you need something with milliseconds resolution then on windows systems I have used QueryPerformanceCounter() for this. Try looking those up in your help files.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top