Well, I wanted to know how I can run a program from a program, eg:
cout<<"Run: "; // --> g++ -o file1.cpp file2
[code to run prog with arguments]
I hope you understand what I mean.
I tried system("g++ -o...") but that doesn't work. thanks