A simple and beginner-friendly C++ Supermarket System that simulates basic shopping and management operations through a console-based interface. The project uses clear menus, simple file handling, and structured code to help users and managers perform tasks like viewing products, placing orders, and managing inventory. Ideal for C++ learners to practice file I/O, menu navigation, and structured programming.
- π Browse available products
- π Add products to cart
- π³ Complete purchases
- π View & print invoices
- ποΈ Clear shopping cart
- β Add new products
- βοΈ Edit existing products
- β Delete discontinued products
- ποΈ Preview customer view
- π₯ Manage user accounts
- π Secure admin authentication
- π¦ Inventory management
- π Auto-save functionality
- π Data backup system
- π¨οΈ Receipt printing
- Prodects.txt: Stores product details (ID, name, price).
- Reciept.txt: Stores the receipt of the user's purchase.
- Uses
structto manage product data. - Organized screens using custom header/footer display functions.
enumused for menu option selection.- Tables formatted using
iomanipfor better readability.
- Compile the project using any C++ compiler (g++, Visual Studio, etc.).
- Make sure
Prodects.txtexists in the project directory. - Run the executable and follow the on-screen instructions.
- Special attention was given to screen formatting for better user experience.
- All interface sections are modular and cleanly separated.
- Best run on Windows environments due to usage of
system("cls").
- This project was developed for educational purposes and to practice file handling and text-based UI in C++.
Ahmed Jehad Ahmed
π GitHub Profile
π§ Email Contact