I'm not sure if this has to do with looping, but I need help because I know how to total up the amount purchased but I don't know how to keep it so there is no limit to the items that can be purchased. help please?
A function that asks the user for purchased item prices and calculates the total purchase amount. There should no limit on how many items that can be purchased.
A Vector a Standard Template Library (STL) container that is used as a dynamic array. It's much easier and safer to use then instead of creating your own dynamic arrays. Dynamic arrays still have their own purpose thou :)