Hey, I know I'm calling up a pretty old thread, but I have a question.
Can the system() call be used to provide input for the program called with system()?
Just in case you're wondering, I'm trying to write a program that can be used to test another program. arguments are the program to be tested, a file containing test inputs, and a file to put the output.
|