Jump to content


Photo

System Pause


  • Please log in to reply
3 replies to this topic

#1 Sk8erkid

Sk8erkid
  • Hosted
  • 7 posts

Posted 21 February 2004 - 07:17 AM

im having touble getting this to work. Can someone explain how to declare this and how to correctly type it because ive seen system(pause); and system("pause");

#2 hellfire

hellfire
  • New Members
  • 53 posts

Posted 21 February 2004 - 02:55 PM

I always used system("PAUSE") but you must remember the library for it. Which just incase is stdlib.h just use that like any normal library.

#3 the_kid

the_kid

    L337 Pwnerer of N00bs

  • Project Team
  • 1,734 posts
  • Location:La$ Vega$, NV
  • Projects:freelancing between what interests me
  •  + TRIPLEhelix

Posted 21 February 2004 - 06:51 PM

AFAIK its the same thing... just adding the quotes addes extra stabablity, but since you are only using one other thing, you can prolly just use system (pause);

But like hellfire said, you need to have a: #include <stdlib.h>
at the top of your program...

#4 Guest_Guest_*

Guest_Guest_*
  • Guests

Posted 10 March 2004 - 04:36 AM

You can also use #include <cstlib>




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users