Skip to content

πŸ›’SuperMark is a basic console-based supermarket system written in C++. It allows users to view products and place orders, while managers can add, update, and delete products. The system uses simple file handling to store product information, making it a great practice project for beginners learning file I/O and menu-driven programs in C++.

Notifications You must be signed in to change notification settings

7mee3d/SmartMarket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›’ SuperMark Project

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.


✨ Key Features

πŸ›οΈ User Interface:

  • πŸ” Browse available products
  • πŸ›’ Add products to cart
  • πŸ’³ Complete purchases
  • πŸ“„ View & print invoices
  • πŸ—‘οΈ Clear shopping cart

πŸ‘” Manager Dashboard:

  • βž• Add new products
  • ✏️ Edit existing products
  • ❌ Delete discontinued products
  • πŸ‘οΈ Preview customer view
  • πŸ‘₯ Manage user accounts
  • πŸ” Secure admin authentication
  • πŸ“¦ Inventory management

βš™οΈ System Features:

  • πŸ”„ Auto-save functionality
  • πŸ“‚ Data backup system
  • πŸ–¨οΈ Receipt printing

πŸ’Ύ File Usage

  • Prodects.txt: Stores product details (ID, name, price).
  • Reciept.txt: Stores the receipt of the user's purchase.

πŸ“‹ Internal Structure

  • Uses struct to manage product data.
  • Organized screens using custom header/footer display functions.
  • enum used for menu option selection.
  • Tables formatted using iomanip for better readability.

βœ… How to Run

  1. Compile the project using any C++ compiler (g++, Visual Studio, etc.).
  2. Make sure Prodects.txt exists in the project directory.
  3. Run the executable and follow the on-screen instructions.

✨ Notes

  • 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").

πŸ“Œ Author

  • This project was developed for educational purposes and to practice file handling and text-based UI in C++.

πŸ‘¨πŸ’» Author

Ahmed Jehad Ahmed

πŸ”— GitHub Profile

πŸ“§ Email Contact

About

πŸ›’SuperMark is a basic console-based supermarket system written in C++. It allows users to view products and place orders, while managers can add, update, and delete products. The system uses simple file handling to store product information, making it a great practice project for beginners learning file I/O and menu-driven programs in C++.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages