Thread: system problemo

  1. #1
    I am he who is the man! Stan100's Avatar
    Join Date
    Sep 2002
    Posts
    361

    Unhappy system problemo

    I have just found out about system("pause") and all that stuff, where can I find a site (or place ) that shows all of them
    If int main() is a function, shouldn't you have to put main(); at the end of your program?

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231

    Re: system problemo

    Originally posted by Stan100
    I have just found out about system("pause") and all that stuff, where can I find a site (or place ) that shows all of them
    All of what exactly?

    The pause used in your example is simply a DOS (nowadays Windows console) command. You can do DIR, REN etc etc

    The commands themselves are OS specific, btw, but system() is an ANSI function.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  3. #3
    If you have WinXP or 2000 you can just type in "HELP" in the command prompt and it will display all the possible commands with an explanation.
    My Avatar says: "Stay in School"

    Rocco is the Boy!
    "SHUT YOUR LIPS..."

  4. #4
    TransparentMember correlcj's Avatar
    Join Date
    Jun 2002
    Posts
    378

    Re: system problemo

    Originally posted by Stan100
    I have just found out about system("pause") and all that stuff, where can I find a site (or place ) that shows all of them
    Do you mean different functions or what? I am
    sorry,
    cj
    "Be formless, shapeless, like water... You put water into a cup, it becomes the cup, you put water into a bottle, it becomes the bottle, you put it in a teapot, it becomes the teapot... Now water can flow, or it can crash, be water my friend."
    -Bruce Lee

  5. #5
    Rambling Man
    Join Date
    Jan 2002
    Posts
    1,050
    I think Stan wants to know where he can find more functions like system("PAUSE"). The answer to that would be to go take a look in your include directives.

  6. #6
    I am he who is the man! Stan100's Avatar
    Join Date
    Sep 2002
    Posts
    361
    And a prize goes to techwins. Tell him what he won!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. File System Implementation
    By dodgeviper in forum C Programming
    Replies: 9
    Last Post: 11-16-2007, 01:04 PM
  2. Using system icons
    By @nthony in forum Windows Programming
    Replies: 1
    Last Post: 01-13-2007, 07:56 PM
  3. Linux database system needed
    By BobS0327 in forum Tech Board
    Replies: 7
    Last Post: 06-11-2006, 03:56 PM
  4. measuring system resources used by a function
    By Aran in forum C Programming
    Replies: 1
    Last Post: 03-13-2006, 05:35 PM
  5. BIOS system and memory allocation problem
    By beely in forum Tech Board
    Replies: 9
    Last Post: 11-25-2003, 07:12 AM