This topic is now archived and is closed to further replies.


Newbie Sleep() question

Recommended Posts

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

Share this post

Link to post
Share on other sites