Welcome to the Restaurant Management System project. This application is designed to help manage restaurant operations, including generating invoices, showing all invoices, and searching for specific invoices.
- Generate Invoice: Create and save invoices for customers.
- Show All Invoices: Display all previously saved invoices.
- Search Invoices: Find specific invoices by customer name.
To run this project, you need:
- A C compiler (e.g., GCC)
- A terminal or command prompt to run the application
1 Clone the repository
git clone https://github.com/yourusername/restaurant-management-system.git
2 Navigate to the project directory
cd restaurant-management-system
3 Compile the program
gcc -o restaurant_management_system main.c
4 Run the program
./restaurant_management_system
After running the program, follow the on-screen instructions to generate, show, or search invoices.
- Enter customer details and items ordered.
- Save the generated invoice if desired.
- Displays all saved invoices from the RestaurantBill.dat file.
- Enter the customer name to search for their specific invoice.
main.c
: The main program file containing all the source code.RestaurantBill.dat
: A binary file where invoices are saved.
Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.
1. Fork the repository
2. Create a new branch (git checkout -b feature-branch)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin feature-branch)
5. Create a new Pull Request
This project is licensed under the MIT License. See the LICENSE file for details.