I have made a few small programs:
Calculator
Temp Cal
Tip Cal
C/F Cal
Password prompt (GUI)
I'm now trying to make a central hub that will launch the file I want. However, the way I'm trying to do this, I want to somehow hide the .exe in my certal hub.exe without copying and pasting the code to the Central hub.exe.
Best picture I can draw:
//Central Hub:
int main()
{
launch tipCal.exe //But not out of the same directory, and not out of this sournce code.
}
The safe way is to copy the code us a fuction in tyhe caller. But that rather bloats the caller exe.
The only other way I can think of is a system call but that has major drawbacks, mainly that's it's slow and very un-secure.
/offtopic on
Please use edits to add something to your posts, don't double- and triple-post...