A lightweight, console-based store inventory management system built as a capstone project. Written entirely in C, this project provides a straightforward way to track, manage, and update store stock efficiently.
- Add New Items: Input new products with details like Item ID, Name, Quantity, and Price.
- View Inventory: Display a formatted list of all items currently in stock.
- Search Items: Quickly find specific items by their ID or Name.
- Update Stock: Modify the quantity or price of existing items as inventory changes.
- Delete Items: Remove products from the system that are no longer carried.
- Data Persistence: (If applicable) Saves inventory data to a text or binary file so records are not lost when the program closes.
- Language: C
- Environment: Console/Terminal
You will need a C compiler installed on your system (such as GCC).
-
Clone the repository:
git clone [https://github.com/yourusername/store-inventory-system.git](https://github.com/yourusername/store-inventory-system.git) cd store-inventory-system -
Compile the code:
gcc main.c -o inventory_system
(Note: Replace
main.cwith your actual filename if it differs). -
Run the application:
- On Linux/macOS:
./inventory_system
- On Windows:
inventory_system.exe
- On Linux/macOS:
Upon running the program, you will be greeted with a main menu. Simply enter the number corresponding to the action you want to perform (e.g., press 1 to add an item, 2 to view inventory) and follow the on-screen prompts.
├── main.c # Main source code file containing the logic
├── README.md # Project documentation
└── inventory_data.txt # (Optional) Data file where inventory is saved