Thread: System Programming

  1. #1
    Registered User
    Join Date
    Feb 2013
    Posts
    6

    System Programming

    Please i need to write a program using the system() function in stdlib.h but i dont rely know how to use this function any help on a document or tutorial will be very helpfull

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Refer to your learning materials. If it is not described there, then search the Web.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Feb 2013
    Posts
    6
    i have already done that but no help

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    I find that hard to believe. Have you found out what are the argument(s) that the system function takes? What are your search keywords? What are the first five results? What search engine are you using?

    Oh, and what learning material are you using? Your teacher's notes? Does it say anything else about functions declared in <stdlib.h>?
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #5
    Registered User
    Join Date
    Feb 2013
    Posts
    6
    I teach myself i use google and this is a sample how to use the system function in c programming - Recherche Google

  6. #6
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Okay. The first result for me is to this "tip" from the main website of this very message board: Executing system commands. Do you understand what it is talking about?
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  7. #7
    Registered User
    Join Date
    Feb 2013
    Posts
    6
    Thanks that did some help

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. system programming.
    By devender singh in forum Tech Board
    Replies: 2
    Last Post: 11-13-2012, 10:35 AM
  2. What is system programming?
    By hellogamesmaste in forum C Programming
    Replies: 2
    Last Post: 08-19-2009, 04:16 PM
  3. system programming
    By iranvaliant in forum C++ Programming
    Replies: 1
    Last Post: 10-19-2006, 08:04 AM
  4. C++ & system programming
    By ossvn in forum C++ Programming
    Replies: 4
    Last Post: 07-02-2006, 10:29 PM
  5. system programming
    By amit in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 06-29-2002, 04:13 AM