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