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.
Perhaps system("foo"); is what you want ?