I'm the README.md file of this folder, here to guide you step-by-step! π
- ποΈ Introduction
- ποΈ Folder Structure
- π§ Key Features
- π Future Enhancements
- π― Final Takeaway
This file represents the raw design of the project as it was initially conceptualized. The project aims to simulate a Shopping Management System named EasyBuy using Object-Oriented Programming principles in C++. The project revolves around a hierarchy of classes representing products, items, brands, and varieties to manage a comprehensive shopping system.
The primary focus at this stage was on:
- Establishing the relationships among classes.
- Implementing basic functionalities like adding and displaying information.
- Understanding the hierarchical structure of objects.
This folder contains a single file:
- π raw_design.cpp: The main C++ file that contains the initial raw design implementation of the project.
-
Classes and Hierarchy:
- The design includes a structured hierarchy of classes:
Variety
,Brand
,Item
,Product
, andShoppingManagementSystem
. - Each class encapsulates relevant properties and functionalities.
- The design includes a structured hierarchy of classes:
-
Static Members:
- Use of static vectors for storing unique IDs to prevent duplication.
-
Add and Display Methods:
- Methods for adding new varieties, brands, items, and products while ensuring uniqueness.
- Display methods to showcase details of each object in the hierarchy.
-
Encapsulation:
- Private members with public methods to ensure data integrity and control access.
-
Focus on User Interaction:
- Console-based inputs to simulate the addition and management of shopping system components.
- Polymorphism: Introduce polymorphic behavior to streamline functionality and enhance flexibility.
- Error Handling: Improve error-checking mechanisms for invalid inputs.
- Data Persistence: Add functionality to save and retrieve data from files or databases.
- UI Improvements: Build a graphical user interface for better usability.
- Integration: Connect with inventory management or payment systems for a complete solution.
- Navigate to the project directory.
- Compile the files:
g++ -o OnlineShoppingManagementSystem MainProgram.cpp FunctionsOfOSMS.cpp class.cpp
- Run the
MainProgram.cpp
file to execute the program:./OnlineShoppingManagementSystem
- Program starts with a user-friendly interface.
- Users can browse products, explore categories, and leave feedback.
This raw design lays the foundation for a robust Shopping Management System. At this stage, the project demonstrates the hierarchical relationships among its core components and encapsulates basic functionalities. While it lacks advanced features and error handling, it represents a clear roadmap for future enhancements.