This project is a C++ application that simulates a restaurant management system. It demonstrates Object-Oriented Programming (OOP) concepts such as classes, inheritance, file handling, and error management. The program allows users to place orders, manage menus, and process restaurant operations efficiently.
- Order Management: Place, view, and cancel orders.
- Menu Handling: Add, remove, and update menu items.
- File Handling: Orders are saved in external files for persistent storage.
- Error Logging: Detailed error management with log files.
- C++: Core programming language for the application.
- OOP Concepts: Class-based structure, inheritance, and polymorphism.
- File Handling: Read/write operations to manage orders and error logs.
- Music Integration: Background music for a more interactive user experience.
- C++ Compiler: Make sure you have a C++ compiler installed (e.g., GCC, Visual Studio).
- IDE: You can use any IDE, such as Visual Studio or Code::Blocks.
- Clone the repository:
git clone https://github.com/aykhan019/FinalProject_Cpp_OOP.git
- Open the project in your preferred IDE.
- Build the solution and run the project.
- After building the project, execute the
OOP_FinalProject_Cpp.exe
file. - Follow the on-screen instructions to interact with the restaurant system.
Source.cpp
: Main file containing the entry point of the application.Classes.h
: Contains the class definitions for various components like Menu, Order, etc.FileHelper.h
: Manages file operations such as reading and writing to order files.ErrorFile.txt
: Logs errors encountered during execution.
Note: Since this was one of my first projects, the file structure may not be as organized as more advanced projects. The project files are in a more straightforward arrangement to reflect its early stage of development.
This project is licensed under the MIT License - see the LICENSE file for details.