A simple Hospital Management System built using C++.
This project demonstrates the use of Object-Oriented Programming (OOP) and File Handling to manage patient records.
The system allows users to admit patients and discharge patients, with all data stored in a text file.
- Admit new patients
- Store patient details in a file
- Discharge patients by removing records
- Simple command-line interface
- File handling using
fstream - Uses classes and objects
- C++
- Object-Oriented Programming
- File Handling (
ifstream,ofstream) - StringStream
- Windows console functions
The user enters:
- Patient Name
- Address
- Blood Group
The data is saved in Hospital.txt.