Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heyfoz/cpp-inventory-vector-sort-search
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.
https://github.com/heyfoz/cpp-inventory-vector-sort-search
cpp data-structures inventory
Last synced: about 1 month ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/heyfoz/cpp-inventory-vector-sort-search
- Owner: heyfoz
- License: mit
- Created: 2022-12-09T12:28:42.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-13T18:46:53.000Z (about 2 years ago)
- Last Synced: 2024-09-12T00:12:57.825Z (4 months ago)
- Topics: cpp, data-structures, inventory
- Language: C++
- Homepage:
- Size: 43.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cpp_inventory_vector_sort_search
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