A C++ console application developed for a Data Structures course at AASTMT-Aswan (Spring 2024). Manages customer complaints using manually implemented data structures: linked list, queue, stack, and priority queue. Supports Customer, Employee, and Admin roles with file-based data persistence.
- Submit complaints (name, phone, email, content).
- View complaint details by ID.
- Delete complaints by ID.
- Search complaint history by email.
- View and reply to unreplied complaints.
- Add problem summaries (stored in stack).
- Search summaries by content.
- View urgent complaints (priority queue).
- Manage employees (add, delete, view).
- View unreplied complaints and total count.
- Prioritize urgent complaints.
git clone https://github.com/mido-io/Complaint-Management-System.git
cd Complaint-Management-System
-
Linux/macOS:
g++ src/main.cpp -o complaint_system -
Windows (MinGW):
g++ src/main.cpp -o complaint_system.exe
-
Linux/macOS:
./complaint_system -
Windows:
complaint_system.exe
- Launch the program and select a role (Customer, Employee, Admin).
- Follow menu prompts to perform actions.
- Complaints are saved to
complaint_data.txtwhen exiting Customer menu.
src/main.cpp: Main source code.complaint_data.txt: Stores complaint data..gitignore: Excludes compiled binaries.
- Plain-text passwords (educational use only).
- Basic input validation (e.g., email format).
- Single-file implementation.
- Implement password hashing.
- Modularize code into headers.
- Add GUI.