I'm sorry if I sound stupid with these questions.
My first is I want to know if it is possible to get one file to open another. An example, if I have a main.cpp file, and when the user enters the number 1, I want it to run a small math program which has been programmed and compiled to the filename math.exe. I've been trying to figure it out but can't find how to do it. Can someone help?
Also, when a program finishes, how would I go about getting it to re-start instead of quitting?