Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: c++ system command  (Read 3687 times)

0 Members and 1 Guest are viewing this topic.

conejo5991

    Topic Starter


    Greenhorn

    c++ system command
    « on: April 30, 2009, 05:22:05 PM »
    Where is the best place to go to learn how to use SYSTEM COMMAND in C++?
    Also, can I call values from a file and use them within this command?
    hybridsealy(at)comcast.net
    Thanks:)

    Ashutosh32



      Intermediate

      Thanked: 1
      • Yes
      • Google
    • Experience: Experienced
    • OS: Windows XP
    Re: c++ system command
    « Reply #1 on: May 01, 2009, 02:52:05 PM »
    You mean the function

    system(const char*)

    ?

    conejo5991

      Topic Starter


      Greenhorn

      Re: c++ system command
      « Reply #2 on: May 01, 2009, 04:56:17 PM »
      I guess. I want to use it to take line commands in a data file and make them useable line commands. Will that work with that command?

      Ashutosh32



        Intermediate

        Thanked: 1
        • Yes
        • Google
      • Experience: Experienced
      • OS: Windows XP
      Re: c++ system command
      « Reply #3 on: May 02, 2009, 12:35:24 AM »
      Is it that your program will read a file(which would hopefully have DOS commands) and execute them with system function?