Skip to content

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.

License

Notifications You must be signed in to change notification settings

ffm5113/cpp_inventory_vector_sort_search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages