The Inventory Vector Sort/Search Program (C++) reads an InventoryParts.txt file made of a list of part records containing part names, categories, quantities, and unit costs. The program prompts the user to search for parts, and if a part is not found, the user can add a new part record. An updated txt file is written on program close.
Notable software engineering features:
- Insertion sort algorithm of an inventory vector of part objects
- Binary search algorithm to find index of part record by part number
- Reference variables used as parameters
- Custom Part data structure
- Data validation and formatting
- Input/output file streams and string stream objects
Link to .cpp file: Inventory Vector Sort/Search C++ Program
Copyright (c) 2022 ffm5113