
Newbie Sleep() question
I feel so stupid, but I cant get Sleep() to work at all. I made sure to include (that''s the header, right?) and then I make a call to Sleep: Sleep(1000); I go to compile, however, and it says something to the effect of (Undefined Identifier -- Sleep()) Any ideas?
Another thing I was wondering is if it''s possible to use Sleep() to slow down a function, such as in a for loop. Because I couldnt get Sleep() to work, I made my own less efficient version (for loop with a really big number) but it didn''t work. In fact, the output was very strange but that''s another story.
Anyway, if anyone could offer advice, epecially on why Sleep() won''t work for me, I''d really appreciate it

Peon
You must include winbase.h or (preferably) windows.h to use "Sleep".
[Resist Windows XP''s Invasive Production Activation Technology!]
[Resist Windows XP''s Invasive Production Activation Technology!]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement