Executing command lines in C/C++
Lord of the newbies here again. How does one execute a particular command line (such as "ping 192.168.0.1") in C/C++ on a Mandrake 8.0 machine (or linux in general)? Do you have to use a special function like Winexec() in Windows? If so, what is the name of this function, and what file is it declared in? If not, how do I do this?
Thanks in advance,
-RL
|