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
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.
Summary: Hi folks. I am trying to get a c++ timer to work in the sort of resolution of around 10 ms. AT the moment I am using a test loop with int time = 40; for(i=0; i < 30; i++) { a = a+1; Sleep(t...
Summary: Ok what i am really trying to do is make like a dos rpg game. Its going pretty well so far.. though i am wanting to do some timing things.. for instance... i use a skill.. that for 3 minutes will let ...
Summary: Hi Dr. Nick, With ping 1.1.1.1 -n 60 , I get very nearly 60. I can't account for the difference. BTW, my ping defaults to 4 pings, so if I use: ping 1.1.1.1 -w 60000 I get about 24 sec. If your ping d...