Program for Restaurant Menu #153751
Replies: 14 comments 6 replies
|
Hey there! 👋 Thanks for posting in the GitHub Community, @1Jawahir-Ali ! We're happy you're here. You are more likely to get a useful response if you are posting in the applicable category and including specific details about what your project entails. The Accessibility category is a place for our community to discuss and provide feedback on the digital accessibility of GitHub products. Digital accessibility means that GitHub tools, and technologies, are designed and developed so that people with disabilities can use them. We’ve moved your post to our Programming Help 🧑💻 category, which is more appropriate for this type of discussion. Please review our guidelines about the Programming Help category for more information. |
|
Hey @1Jawahir-Ali, here are the few basic steps to start. Hope this will assist you with your task.
|
|
hello everyone hope that, all of you are well and enjoying your life.so I have completed the C++ area of procedural programming now I have been learning the new part of programming the "Object Oriented Programming" can you guide me in this regards how should I start OOP. |
|
Seven Brew has a lot of drink choices, so having the brew menu 7 with prices available online actually saves time. |
|
Display food & drink menu Show prices clearly Categories (Starters, Main, Drinks, Desserts) Take customer orders Calculate total bill |
🍴 I have simple ways to make your C++ Restaurant Menu System way better.There is a specific way to make your programs more interactive by just using simple ways 1. Implement Logic-Based SortingAs a developer, I may suggest that you to sort your food items in a ascending order by ids or names (recommended). First Sort your food items as per categories and then as per their names. use a /----Beverages:--------------/
Chocolate Milkshake
Coke
Ice Tea
/----Burger-----------------/
Cheese Burger
Veg Burger2 Add GST and Delivery TaxJust Make a receipt section and add a float variable that takes input from user and gets added to total value. 3 Use Colors For a Menu Driven Program (ANSI)Just a usual formatter, Enhance user experience by adding colored text in your terminal-based program. #define NORM "\x1B[0m"
#define REDD "\x1B[31m"
#define GREN "\x1B[32m"
#define YELL "\x1B[33m"
#define BLUE "\x1B[34m" |
|
Add a menu page where the customer can choose, add prices for each of the items, and add a source of income for the customers. You could do a ascii art style for the menu to make it good looking |
|
Good morning! For a restaurant menu system in C++, focus on using classes for items (name, price, category) and vectors to store them. Start with basic CRUD operations: add, view, update, and delete items. You can also implement a search function and file handling to save data permanently. For menu structure inspiration, I recently came across the dutch menu website, which has a clean and well-organized layout with pricing, it might give you some good ideas for how to display categories and items clearly in your project. Keep it simple first, then add features like tax calculation or order totaling later. Good luck with your project! |
This comment was marked as spam.
This comment was marked as spam.
|
Use struct and enum for your menu types, eg: struct item {
string name;
unsigned long double price; //long is optional
string type;
string allergies;
double duration; //for serving time, eg 01.10 mean 1 through 10 o'clock
string specials; //discounts...
}Also, try to add some UI, you can either use C++ libraries, or use a Web frontend like Typescript or Javascript with Astro or React or Vanilla for you and customers to have an easier insight. |
|
For a restaurant menu system in C++, you could start by creating classes for menu items, categories, prices, and customer orders. A simple console-based interface would be a good starting point before adding more advanced features. It may also help to study real-world menu structures for inspiration. I came across this KFC menu website and was impressed by how the menu information is organized, which could give you some useful ideas for structuring your project. |
|
Hello everyone, I am building a personal developer portfolio website and would appreciate advice from the community. The website includes an introduction, technical skills, work experience, project cards, and a contact section. I want it to look professional and work consistently across desktop, tablet, and mobile devices. I would appreciate suggestions about:
Which improvements should I prioritize first? I would also appreciate recommendations about common portfolio mistakes that I should avoid. Thank you for your guidance. |
|
I suggest using a |
|
One approach I’d consider is to design the program around the customer’s order flow, rather than treating the menu as just a list of records. For example, each menu item could have an ID, while the ordering logic keeps track of the selected IDs and quantities. That makes it easier to handle cases such as ordering two of the same dish, removing an item, or changing its quantity. You could split the project into a few responsibilities:
I’d also keep the menu data separate from the user-interface code. That way, you can later replace the console interface without having to rewrite the underlying ordering logic. Once that structure is working, persistence and admin features can be added without making the main program difficult to maintain. |
Uh oh!
There was an error while loading. Please reload this page.
Select Topic Area
Question
GitHub Feature Area
Discussions
Body
Good morning,I need some suggestions regarding my project of restaurants menu system using C++ language so, guide me in this regard.
All reactions