running a program

This is a discussion on running a program within the C Programming forums, part of the General Programming Boards category; I have to write a program for part of my coursework project. The overall program is broken down in to ...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    66

    running a program

    I have to write a program for part of my coursework project. The overall program is broken down in to 4 individual programs. All data must pass through each program in order i. prog1, prog2, prog3 then prog4. Each program can be run seperately but if I want to give the user the option to run the following program how do I call the following program from the one I am in.

    simplified: what command do I need to start a program from inside the one I am running.

  2. #2
    Registered User
    Join Date
    May 2003
    Posts
    19
    Perhaps system("foo"); is what you want ?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program running long
    By smarta_982002 in forum Windows Programming
    Replies: 3
    Last Post: 03-27-2008, 06:24 AM
  2. Running my program in the background
    By shoobsie in forum Windows Programming
    Replies: 4
    Last Post: 10-09-2005, 03:38 AM
  3. Replies: 3
    Last Post: 09-05-2005, 09:57 AM
  4. Why is my program running away?
    By badkitty in forum C++ Programming
    Replies: 4
    Last Post: 09-19-2001, 05:27 PM
  5. Running program
    By muffin in forum C Programming
    Replies: 5
    Last Post: 08-30-2001, 11:57 AM

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