Multiple programs in one..

So I have multiple simple math programs I have designed. Some have to deal with quadratic formulas, cross products, unit vectors/directional cosine angles, explicit Fibonacci sequence (yes it's possible), etc. I have compiled each of them individually, and I'm able to run each of them just fine by running "./program_name" in my linux terminal.

How do I make ONE program, that presents a list, so that a user can select an option and it will then load that particular program, instead of combining all of them into one huge program?

Thanks for the help; this is my first post.
You can turn each program into a library or dll that can then be linked to and called from other programs.

You can call external programs through a 'shell' call, which is platform dependant.

You can turn your simple math executables into activex executables, which is Windows platform specific.
My knowledge of C++ programming is pretty limited, I'm just now taking a college course on it, but I have been doing a lot of programs on the side. I want to design this as a helpful math program for engineering students, so Windows is is most likely going to have to be the system I set it up for (even though I am a linux fan and never use windows). I know I will have to recompile the coding, because I used G++ for my environment, but how do I turn them into dll and then link to them?
Here's a link to making a Win32 dll with VS 6.0 (there's also a link on that page to an updated VS2005 tutorial). Google can provide links to numerous other tutorials on the subject.

http://www.icynorth.com/development/createdlltutorial.html
I'd suggest you to write a simple bash script for this instead of some weird library things
Topic archived. No new replies allowed.