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.
-
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
- Object-Oriented Programming (OOP)
- Inheritance and polymorphism
- File handling (
ifstream,ofstream) - Arrays and data organization
- String manipulation
- Basic encryption logic (character shifting)
- 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
- 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
This project is licensed under the MIT License.
CAPTAIN PAKISTAN