A C++ console application for managing a small computer store's employee and inventory records. The project was built as an academic Object-Oriented Programming / Data Structures assignment and demonstrates class-based modeling, menu-driven workflows, file persistence, and CSV import/export.
- Head-manager login flow with a simple PIN gate
- Add and update employee records
- Add and update inventory items
- Search employee and inventory data
- Display all store records from the console
- Persist records to a binary file when the program exits
- Import and export records using CSV-style files
.
├── Computer Store.sln
├── Computer Store.vcxproj
├── Computer Store.vcxproj.filters
├── Main.cpp
├── items.csv
└── README.md
This project uses Microsoft Visual Studio C++ project files and calls MSVC-specific functions such as strncpy_s.
Open Computer Store.sln in Visual Studio 2022 and build the solution, or run from a Visual Studio Developer PowerShell:
msbuild "Computer Store.sln" /p:Configuration=Release /p:Platform=x64After building, run the executable from the build output directory:
.\x64\Release\"Computer Store.exe"The manager PIN shown by the program is:
1111
Help mode:
.\x64\Release\"Computer Store.exe" helpExport records:
.\x64\Release\"Computer Store.exe" export items.csvImport records:
.\x64\Release\"Computer Store.exe" import items.csvRecords.binis generated at runtime and is intentionally ignored by Git.items.csvis included as sample import/export data.- Build outputs, Visual Studio cache files, archives, and local assignment documents are excluded from the repository.