A console-based healthcare management system developed in C++ as part of an Object-Oriented Software Development course.
The application demonstrates fundamental Object-Oriented Programming (OOP) concepts including:
- Classes and Objects
- Inheritance
- Encapsulation
- File Handling
- Input Validation
- Modular Programming using Header Files
- Patient Registration
- Patient Login
- Doctor Login
- Hospital Administrator Login
- Appointment Management
- Patient Record Management
- Consultation Services
- File-based Data Storage
- Input Validation
- C++
- Visual Studio Code
- GCC / MinGW Compiler
- Object-Oriented Programming
.
├── main.cpp
├── Doctor.cpp
├── Doctor.h
├── Patient.cpp
├── Patient.h
├── Appointment.cpp
├── Appointment.h
├── Consultation.cpp
├── Consultation.h
├── bool.h
├── PatientRegistration.txt
└── README.md
- Visual Studio Code
- C/C++ Extension
- MinGW-w64 (GCC)
Compile:
g++ *.cpp -o SmartHealthSystemRun:
./SmartHealthSystemOn Windows Command Prompt:
SmartHealthSystem.exe- Open the project.
- Go to Project → Project Options.
- Select Settings → Code Generation.
- Set the language standard to GNU C++11.
- Compile and Run.
| Username | Password |
|---|---|
| PDC1365 | 74251 |
| Username | Password |
|---|---|
| ain2022 | 73779 |
- Keep all
.cpp,.h, and.txtfiles in the same directory. PatientRegistration.txtcontains sample patient data.- You may edit the file to create additional test accounts.
- Azreen Shafieqah binti Asri
- Mohammad Hamka Izzudin bin Mohammad Yahya
- Mohammad Amir Alam bin Rahim Omar
- Nurulain Basirah binti Hamid
- Iman Tarmizi Rosalina
This project was developed for educational purposes.