> Say every 5 miliseconds.
Does your monitor refresh at 200Hz ?
If there is no way for you to observe the effects of such a high resolution event, then what would be the point of trying it?
Besides, once you get below the normal scheduling frequency of the OS (which is usually 10ms or 20ms IIRC), then accurate timings in user code become pretty tricky.
Oh, and main returns int, not void.
Salem
Posting Sage
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953