hiding old .exe

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.
}
is it possible?
Also is there something similar to .dll files
sorry bump
You could use system("directory\tipCalc.exe") (replacing directory with the directory that tipCalc is in)

This has some major security flaws, so I wouldn't recommend it if you're publishing this program.
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...
Topic archived. No new replies allowed.