A simple Inventory Management System built using C++ and linked lists, featuring admin and user roles, persistent data storage, and product management capabilities.
- 🔐 Secure login
- ➕ Add new products
- ✏️ Edit existing product details
- ❌ Delete products
- 🔍 Search products by name or ID
- 📊 Display product list
- Sort by Name, ID, Price (Low→High, High→Low)
- 💾 Persistent data storage via
products.txt
- 🔐 Secure login
- 📊 View all products
- Sort options included
- 🔍 Search by product name or ID
- Product data is stored in a local file:
products.txt - Each product includes:
ID,Name,Price,Quantity
- Users are stored in code (hardcoded in
main())
- Username:
admin - Password:
admin123
- Username:
user - Password:
user123
- 💻 Language: C++
- 📁 File I/O:
fstream - 🧠 Data Structure: Linked List
- ⏳ Delay/Wait:
windows.hfor Sleep (Windows-only)
- Admin logs in → Adds 3 products → Views them sorted by price
- User logs in → Searches for a product → Views sorted list
- Admin logs in again → Edits one product → Deletes another
This project is open-source and free to use for educational or personal purposes.
- M. Sabtain Khan
- GitHub: [(https://github.com/Sabtain-Dev)]