stdlib.g/system() <- basic questions.

This is a discussion on stdlib.g/system() <- basic questions. within the A Brief History of Cprogramming.com forums, part of the Community Boards category; With most header files you can see a general purpose for them just by looking at some of their code. ...

  1. #1
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913

    stdlib.g/system() <- basic questions.

    With most header files you can see a general purpose for them just by looking at some of their code. What the heck is the deal with stdlib.h? And also - I'm looking for the header file that contains system(). Which one is it? And do you need to put the command inside ""s?

  2. #2
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035
    stdlib.h

    System("cls"); //capital S!!!

  3. #3
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    So the sole purpose for that post was to correct the typoes in my subject line?

  4. #4
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    >>> So the sole purpose for that post was to correct the typoes in my subject line?

    You asked which header System() was in...

    >>> stdlib.h

    ... he told you, you ask are quotes necessary...

    >>> System("cls"); //capital S!!!

    ... he told you, he also pointed out a possible error of yours.

    Lighten up. What he didn't tell you is that system() is a really bad idea, and you can read why in the FAQ here...

    http://www.cprogramming.com/boardfaq.html#execs
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  5. #5
    Registered User
    Join Date
    May 2002
    Posts
    178
    actually at least on dev-cpp the system does not have to be a capital s. Actually i use it quite frequently with just system()
    Oi Oi Oi!!!!

  6. #6
    Registered User Zeeshan's Avatar
    Join Date
    Oct 2001
    Location
    Munich, Germany
    Posts
    224
    I think that the standard setters just placed every MISCALLANEOUS FUNCTION in stdlib.h

    No single general purpose...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Basic Questions
    By Panda_ in forum C Programming
    Replies: 15
    Last Post: 09-23-2009, 05:24 PM
  2. questions....so many questions about random numbers....
    By face_master in forum C++ Programming
    Replies: 2
    Last Post: 07-30-2009, 09:47 AM
  3. Some Basic questions
    By BlaX in forum C Programming
    Replies: 7
    Last Post: 06-30-2009, 10:51 AM
  4. Please help, basic unsigned conversion questions
    By ninjacookies in forum C Programming
    Replies: 3
    Last Post: 04-20-2005, 11:50 AM
  5. questions questions questions.....
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 08-14-2001, 08:22 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21