Point of Sales

I'm trying to make a simple point of sales program...
the problem is "what if the customer wants to add another order?" how can i store his/her first order? store the price,the amount?then display all the items he/she ordered and it's total price?
closed account (zb0S216C)
Consider using std::vector[1]. std::vector is an expandable array that grows with each call to std::vector::push_back( ).

References:
[1]http://www.cplusplus.com/reference/stl/vector/


Wazzak
thank you very much!..thank you for posting the link....i'll study that one!
Topic archived. No new replies allowed.