Skip to content

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

 
 
 

Contributors

Languages