This is a comprehensive and responsive e-commerce system implemented in C++ using vectors and other standard libraries. The system was developed as a second-year semester project, focusing on essential features for managing an online store.
- User Authentication: Secure login with a default username and password.
- Product Management: Add, remove, and manage products in the store.
- Cart System: Users can add products to a cart and manage their purchases.
- Order Processing: Handle orders from users with real-time updates.
- A C++ compiler (e.g., GCC, Clang)
- Basic understanding of C++ and file handling
-
Clone the Repository
git clone https://github.com/SwayamGupta12345/e-commerce-system-in-cpp.git cd e-commerce-system-in-cpp
-
Compile the Program
g++ -o ecommerce E-commerce.cpp
-
Run the System
./ecommerce
- Run the provided input file (
input before running.txt
) to load initial data into the system. - Alternatively, create your own input file in the same format.
- Use the following credentials to access the system:
- Username:
Programmer
- Password:
123
- Username:
- Product Management: Add new products, update existing ones, or remove them from the system.
- Cart and Orders: Manage your shopping cart, proceed to checkout, and handle order processing.
- E-commerce.cpp: The main file containing the entry point and core logic of the system.
- input before running.txt: Sample input file to initialize the system with products and other data.
- README.md: This file.
- Modify
input before running.txt
to include different products or user data for testing. - Adjust the code in
E-commerce.cpp
to add new features or improve existing functionality.
- Login Issues: Ensure the correct credentials are used (case-sensitive).
- Data Loading: Verify the format of
input before running.txt
to ensure compatibility with the system.
For any queries or issues, please contact [swayamsam2005@gmail.com].