Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
C++ shopping program by classes
I need the to do a shopping program by classes. the customer is buying and the quanity of that certain product and would like to be able to add that to a shopping cart(the cart only could caryy 10 quantities) since the customer might be buying more that one product. Im using a file to store the name of the products , quantities and prices. the user will enter the amount of money the clerk has and the amount of money the shopper has. the classes are "shopper","clerk","cart" and "wallet". it is my first time to use classes so it is sooo hard for a "class beginnner".
0 · ·