Thread: System() function

  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    6

    System() function

    where can I find all of the things that the system() function will do? I need to know how to write to a text file.

    thanx

  2. #2
    Registered User
    Join Date
    Mar 2004
    Posts
    18
    Don't use the system function.

    http://www.cpp-home.com/FileIO_tutorial.php


    That should be a start.

  3. #3
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  4. #4
    Registered User caroundw5h's Avatar
    Join Date
    Oct 2003
    Posts
    751

    Re: System() function

    Originally posted by gooey kablooey
    where can I find all of the things that the system() function will do? I need to know how to write to a text file.

    thanx
    If your under windows which i'm assuming you are, go to the command line and type "help", a list of system commands will appear. Search around as well there are a couple of them that are not listed. such as netstat.
    Warning: Opinions subject to change without notice

    The C Library Reference Guide
    Understand the fundamentals
    Then have some more fun

  5. #5
    The Defective GRAPE Lurker's Avatar
    Join Date
    Feb 2003
    Posts
    949
    Hammer, in this case I think file IO is better than system.
    Do not make direct eye contact with me.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 05-13-2011, 08:28 AM
  2. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 03:07 AM
  3. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 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. I need help with passing pointers in function calls
    By vien_mti in forum C Programming
    Replies: 3
    Last Post: 04-24-2002, 10:00 AM