Feature Highlights
Menu browsing, cart management, and checkout
- Browse items organized by category (Tea, Dosa, Pizza, etc.)
- Add items to cart with quantity control
- Real-time bill calculation with automatic change
- Order confirmation with unique token number
Stack
- C++: Console application using Standard Template Library (STL) for data structures.
- OOP Principles: Classes, inheritance, polymorphism, and encapsulation for clean architecture.
- File I/O: fstream library for reading and writing order data to text files.
- Console UI: Text-based menu interface with clear navigation between customer and admin modes.
- Admin Controls: Password-protected dashboard for managing orders and system data.
- Business Logic: Algorithms for bill calculation, change determination, and prep time estimation.
Use Cases
- A learning project to practice C++, OOP, and file handling
- Educational template for understanding console-based POS systems
- Basis for building a more advanced point-of-sale application
How to Use
- Clone:
git clone https://github.com/dhruba-datta/FoodOrderingSystem - Compile:
g++ main.cpp -o food_ordering - Run:
./food_ordering(Linux/Mac) orfood_ordering.exe(Windows) - For customers: Browse menu, add items, view bill, and get your order token
- For admin: Login with default credentials (Dhruba / 2020) to view or delete orders



