SYSTEM CALLS
Calls may be made to the Operating System to execute standard
OPsys calls, eg,
#include <process.h>
main() /* SYS.C */
{
char *command = "dir";
system( "cls" );
system( command );
}
Do not use this method to invoke other programs. Functions like exec() and spawn() are used for this.