Console-based C++ project
A menu-driven Hospital Management System built in C++ as part of the Software Development Fundamentals II (SDF-II) course at Jaypee Institute of Information Technology, Noida.
The system manages patients, doctors, appointments, room allocation, and billing from a single console application — demonstrating core OOP principles and STL usage.
| Module | Functionality |
|---|---|
| 🧑⚕️ Patients | Register InPatients / OutPatients; search, update, delete |
| 👨⚕️ Doctors | Add / view / update profiles, specialisation, schedule |
| 📅 Appointments | Book, view, update status (Scheduled / Completed / Cancelled) |
| 💳 Billing | Auto-generate itemised bills; mark paid; revenue report |
| 🏨 Rooms | 20 rooms across 4 types; allocate and discharge |
| 📊 Reports | Live stats: patient count, room occupancy, revenue |
- OOP: Classes, Inheritance, Polymorphism, Abstract Classes, Encapsulation
- STL:
vector,map,list - Templates: Generic
search()function - Operator Overloading:
>,<on Doctor;<<as friend in Person - Exception Handling:
try-catchwithruntime_error - Dynamic Memory:
new/deletefor Patient and Doctor objects
src/
└── main.cpp # All classes and logic in a single-file implementation
docs/
└── HMS_Project_Report_.pdf
# Using g++
g++ -std=c++17 -o hms src/main.cpp
./hms # Linux / macOS
hms.exe # Windows