|
|
Question : How do i get the input of another program in C++ under Linux?
|
|
|
|
Ok. I know that you can run another program using the system method, i.e. but how do i get the output of the program for use in the cpp program?
That is... could i say something like char *string = system(program);
|
|
|
|
Answer : How do i get the input of another program in C++ under Linux?
|
|
|
|
|