TO CALL OTHER PROGRAMS FROM WITHIN OTHER PROGRAMS-
Just include the standard c header file cstdlib (no .h!!).
You can now use the function system( :eek: ). It takes only one parameter- the name of the program you want to call! Here is an example
#include <iostream>
#include <cstdlib> // You need this to call the system() function
using namespace std;
int main()
{
char prog[100];
cout << "Enter the program you want to call:\t"; // Prompt for a program and run it.
cin.getline(prog);
system(prog);
return 0;
}