Skip to content

CaptainPakistan/departmental-store-management-system-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🛒 Departmental Store Management System (C++)

Beginner C++ Project | OOP + File Handling + Encryption

A console based C++ application designed to simulate a basic departmental store. The project focuses on inventory management, admin control, and persistent data storage using file handling, along with a simple custom encryption/decryption mechanism.

⭐ If you like this project, consider giving it a star!

Features

  • Admin authentication system

  • Add, remove, and manage products

  • Edit product price and quantity

  • Category-based inventory:

    • Food & Beverages
    • Self Care
    • Household Items
  • Persistent storage using file handling

  • Basic encryption/decryption for stored data

  • Automatic data compaction after deletion


Concepts Demonstrated

  • Object-Oriented Programming (OOP)
  • Inheritance and polymorphism
  • File handling (ifstream, ofstream)
  • Arrays and data organization
  • String manipulation
  • Basic encryption logic (character shifting)

⚙️ How It Works

  • Products are stored in 2D arrays categorized by type
  • Admin can manage inventory through a menu-driven interface
  • Data is saved in a file (hello.txt)
  • Before saving, data is encrypted using a custom character-shift method
  • On loading, data is decrypted back into usable form

📌 Notes

  • The encryption system is designed for learning purposes only and is not secure for real-world applications
  • The system uses fixed-size arrays ( And... You can change it yourself )
  • Works in a console environment

📜 License

This project is licensed under the MIT License.


👨‍💻 Author

CAPTAIN PAKISTAN

About

A console-based Departmental Store Management System written in C++. This project demonstrates core programming concepts including OOP, file handling, inventory management, and a basic encryption/decryption mechanism for secure data storage. Designed as a beginner friendly academic project with practical real world functionality.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages