Please, I need a simple code example showing how to run an .exe
program with parameters from inside my C++ program.
Something like:
myExternal program
int main (int a , int b)
{
int c = a+b;
return c;
}
My Caller program looks like this:
int Caller_main ()
{
execute( myExternalprogram.exe, (with parameters 5 and 6!));
get (the result!);
}