Welcome to my first C++ project! This is a console-based application designed to model a real-world shopping scenario using Object-Oriented Programming (OOP).
The Lucky-Mart Shopping Management System provides a comprehensive interface for browsing products, managing a shopping cart, and calculating bills.It also includes a promotional "Lucky Draw" feature.
- OOP Pillars: I have implemented Inheritance, Encapsulation, Polymorphism, and Abstraction to make the code modular and scalable.
- Dynamic Cart Management: The system uses a Linked List to manage the shopping cart dynamically.
- Hierarchical Catalog: Products are categorized into Electronics, Clothing, and Grocery.
- Polymorphic Display: A single interface call correctly displays unique details for different product types.
main.cpp: Contains the complete C++ source code.My-First-CPP-Project.pdf: My detailed Lab Report including objectives, implementation logic, and output screenshots.
- Download the
main.cppfile. - Compile using any C++ compiler (like G++):
g++ main.cpp -o lucky-mart - Run the executable:
./lucky-mart
Author: Nimra Arshad University: Riphah International University Islamabad