Jump to content
  • Advertisement


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


Newbie Sleep() question

This topic is 6070 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!