How to call external c++ program

Discussion in 'C Programming' started by guest7, Jan 4, 2009.

  1. guest7

    guest7

    Joined:
    Jan 4, 2009
    Messages:
    1
    Likes Received:
    0
    Hi,

    I have to call an external executable program (prog2) from within my program (prog1) and then use the output of that exceutable program (prog2) in program (prog1) after calling it.

    I have to manipulate the output obtained from progam (prog2) in program (prog1) and then perform this iteration n times.

    I do not how to do this. Please let me know.

    Thanks
     
    guest7, Jan 4, 2009
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tobias Merler
    Replies:
    0
    Views:
    581
    Tobias Merler
    Sep 24, 2003
  2. Sanyi Benczik

    how to call an external program?

    Sanyi Benczik, Dec 14, 2003, in forum: C++
    Replies:
    10
    Views:
    1,199
    Chris Mantoulidis
    Dec 16, 2003
  3. Peter Nolan
    Replies:
    4
    Views:
    11,182
    E. Robert Tisdale
    Apr 8, 2004
  4. Scott Allen
    Replies:
    8
    Views:
    11,383
    Scott Allen
    May 2, 2004
  5. Philipp Neuhaus

    [NEWBIE] How to call an external program

    Philipp Neuhaus, Sep 18, 2003, in forum: Python
    Replies:
    1
    Views:
    390
    Ulrich Petri
    Sep 18, 2003
  6. Marcpp
    Replies:
    1
    Views:
    868
    kyosohma@gmail.com
    Jun 25, 2007
  7. Deb.Fang@gmail.com

    call an external c++ program

    Deb.Fang@gmail.com, Jun 19, 2006, in forum: Perl Misc
    Replies:
    8
    Views:
    304
    Tad McClellan
    Jun 19, 2006
  8. Mellow Crow
    Replies:
    6
    Views:
    680
    Richard Cornford
    Nov 4, 2005
Loading...