Jump to content
  • Advertisement

Archived

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

zergdeath1

Pause

This topic is 5480 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

Advertisement
Guest Anonymous Poster
in windows.h

Sleep(Milliseconds);

Share this post


Link to post
Share on other sites
Can''t remember what include you need but i think the code is:
system("pause") i believe that pauses until a key is pressed...
Not sure haven''t seen it for a year.



Favorite Quotes:Gandalf: You shall not pass!|Gollum: My Precious!|Smeagol: My little hobbitses.|

Share this post


Link to post
Share on other sites
Sleep(milliseconds) would probably do the trick, if you''re after controlling the length. The System pause might work, but it wouldn''t have the same effect.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
#include <stdlib.h>

system("PAUSE";

waits for a keypress

Share this post


Link to post
Share on other sites
quote:
Original post by Lektrix
It is platform specific, gentlemen...

[ Google || Start Here || ACCU || STL || Boost || MSDN || GotW || CUJ || MSVC++ Library Fixes || BarrysWorld || E-Mail Me ]


Please specify the anticedent of it.



______________________________________________________________
The Phoenix shall arise from the ashes... ThunderHawk -- ¦þ
MySite
______________________________________________________________

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!