I have been asked to add a pause to an existing C++ program.
The user does not want to use the Windows builtin scheduler for reasons they won't share with me.
Is the correct way of doing this something like:-
Last edited by straygrey; July 17th, 2009 at 04:42 AM.
ok this will cause a 10 sec delay predefined by the programmer (DELAY)
Well, I don't have enogh time to test your code; I just hope it will work...
The only question is: why waste time to develop/write/test some code that is supposed to do exactly the same as Sleep does?!
Besides. this code would just unusefully load CPU!