Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The current menu structure in my program looks like this:
C++
void menu::main(){
	cout << "What do you want to do?" << endl;
	cout << "\t1 - Add an item"       << endl;
	cout << "\t2 - Add an entity"     << endl;
	cout << "\t3 - Add a recipe"      << endl;
	cout << "\t4 - Add a technology"  << endl;
	cout << "\t5 - Exit the program"  << endl;
	cout << "Your selection: ";
	int select; cin >> select; cout << select;
	return select;}

Is there a way to create a menu that functions like that of the BIOS menu on a computer?

What I have tried:

I have been scouring the interwebs for a solution, but I can't figure it out.
Posted
Updated 8-Sep-16 5:03am
Comments
[no name] 6-Sep-16 23:57pm    
I think you are looking for a Graphical User Interface(GUI) To my knowledge I see low level bios setting does have a GUI menu which is in dos styled(Windows).
There are many ways to create a GUI with C++

If you are concentrating on Windows then Win32 API, Microsoft Foundation Classes are some of them you want to refer in the internet

If you want a cross platform GUI then my strong suggestion is using QT you can do almost anything with QT

Many professionals here suggested me to start with Win32 API, If you are willing to learn this Charles Petzold's Definitive Guide to Win32 API would be the best option.

1 solution

If you wann stay in DOS-Box it is usual standard to do it like in this example code.

If you wanna some more fancy stuff than you need to program some GUI with programming language like C.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900