Author Sailee Phal
This code represents a simple console-based game shop management system written in C++. It allows users to view available games, make purchases, and manage their account information.
- View available games and their details.
- Make purchases by adding products to the cart.
- Display the total value of selected products.
- Display all purchased products.
- Store and retrieve customer information.
- Display customer details and exit message.
- Manages the stock quantity for each game.
- Decreases the stock when a product is purchased.
- Provides a display of available stock for a given product code.
- Inherits from stock.
- Manages product information such as name, code, and price.
- Allows users to add products, display the total value, and display all products.
- Inherits from stock and product.
- Displays available games for purchase.
- Manages customer information, including name, ID, phone number, and rating.
- Displays customer details and a farewell message.
- Utilizes file operations to display additional information about each game.
- Files are named after each game (e.g., "Snakes and Ladders.txt").
- Information includes the year created, target age group, and a brief description.
- View Games and Make Purchase
- Display available games.
- Allow the user to choose whether to make a purchase, view more details, or exit.
- Purchase Flow
- Allow the user to add products to the cart.
- Display total value and all purchased products.
- Repeat until the user chooses to exit.
- Customer Information
- Prompt the user to enter their name, ID, phone number, and satisfaction rating.
- Display customer information and a thank you message.
- Compile and run the program.
- Follow the on-screen instructions to view available games and make purchases.
- Enter customer information when prompted.
- Review customer details and exit the program.
- Ensure that the necessary libraries are available for your C++ compiler (e.g., fstream, iostream, conio.h, iomanip, string).
- Review the code comments for additional details on each class and function.
- Feel free to extend or modify the code to meet specific requirements.
Note: This documentation provides a high-level overview. For more detailed explanations, refer to the code comments and the logic implemented in each function.