Computing.Net > Forums > Programming > C++ Timer

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

C++ Timer

Reply to Message Icon

Name: wille
Date: June 24, 2008 at 15:36:56 Pacific
OS: WINDOWS XP Home Edition
CPU/Ram: 3,2GHz
Comment:

Hello, I have a problem with c++, I need a timer for the program to wait a certain time, mesured in milliseconds, before continuing to the next statement. I've searched and I found that many people had a similar problem but those were solved by time.h which can only mesure whole seconds(I need smaller time intervalls) or they got responses that showed how to mesure time elapsed. Just to clearify, that's NOT what I'm looking for, I need a statement thet'll make the program wait.
Thanks in advance, sorry for bad english.

Live the life as you know it
/ Wille



Sponsored Link
Ads by Google

Response Number 1
Name: Razor2.3
Date: June 24, 2008 at 20:57:53 Pacific
Reply:

Win32 API? You'll want to use sleep().


0

Response Number 2
Name: wille
Date: June 25, 2008 at 06:47:21 Pacific
Reply:

Thanks for that, but I don't understand any of the microsoft topics and their so called help pages. Any page that is more easy to understand?
Thanks

Live the life as you know it
/ Wille


0

Response Number 3
Name: wille
Date: June 25, 2008 at 06:56:36 Pacific
Reply:

Never mind that, I got it but these microsoft help topics sucks. Never any good examples there. Thanks Razor2.3.

Live the life as you know it
/ Wille


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Defrag batch script add line number to text f...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: C++ Timer

C++ timer problems www.computing.net/answers/programming/c-timer-problems/8709.html

Dos c++ timer www.computing.net/answers/programming/dos-c-timer/6884.html

Batch file help www.computing.net/answers/programming/batch-file-help/12261.html