Chat on IRC |
C++ system commands
Posted by grandsnafu [send private reply] at August 04, 2001, 01:20:36 AM
How do I send a command to the system (I am running linux), e.g. run 'lynx google.com' when the user types web? In C you can just use 'system', but that doesn't seem to work with C++.
Posted by Psion [send private reply] at August 04, 2001, 01:54:13 PM
If it doesn't seem to work, then you are doing it wrong or have a setup error in your development environment. Are you including stdlib.h or cstdlib?
Register as a new user | ||||