I want to execute a program in C. How to get the output of the executed program?
Thanks.
I want to execute a program in C. How to get the output of the executed program?
Thanks.
Redirection of stdout is OS specific. Commonly you do something like:
myprog > myoutfile
Or something similar.
Quzah.
Hope is the first step on the road to disappointment.
> I want to execute a program in C.
http://www.cprogramming.com/boardfaq.html#execs
> How to get the output of the executed program?
What kind of output?
The world is waiting. I must leave you now.