Thread: main menu
View Single Post
Old 11-04-2004, 11:48 AM   #6 (permalink)
keystoneman
Registered User
 
Join Date: Sep 2004
Location: Lancaster, Pa
Posts: 24
keystoneman is on a distinguished road
Send a message via AIM to keystoneman
Ok maybe I can make myself a little more clear, what I have right now is 12 independent programs that are due at the end of the semester. Instead of turning in a folder to my teacher where he has to click on each different .cpp to open it I would like to create another .cpp file and it would act as the main menu from here he could select lab 1 through lab 12 once he enters which lab he wants to see that .cpp file is then loaded.

Example

Which lab would you like to view?

1. Lab 1
2. Lab 2
3. Lab 3
4. Lab 4

(if the user enter the number 4 then the case statment loads 4.cpp)

.... is this posible or is there another way to do all of this?
keystoneman is offline   Reply With Quote