I'm trying to include multiple things into a vector. My program is suppose to read from an input file that looks something like
add 12345 12.50 50
add - tells me I need to add this to a list, which I'll be using vector
12345 - that's the id number
12.50 - the price
50 - quantity
I'm going to need to use a linear search later if the input file tells me to change the price or quantity but I'm stuck trying to how to add them in the first place. I'm also trying to do this using a class.