A menu-driven project in C for managing patient records in a hospital.
Built using C language and file handling to store data dynamically (persistent across program runs).
This project is suitable for college assignments, internships, and resume building.
- β Add Patient (ID, Name, Age, Disease)
- π Display All Patients
- π Search Patient by ID
- βοΈ Update Patient details
- β Delete Patient record
- πΎ File handling for permanent storage
- C Language
- File Handling (
fopen,fread,fwrite,fseek) - Structures in C
Hospital-Management-System/ β-- hospital.c # Main source code β-- hospital.dat # Auto-generated data file β-- README.md # Project documentation
yaml Copy code
- Clone this repo or download the source code:
git clone https://github.com/your-username/Hospital-Management-System.git
Open terminal in the project folder and compile:
bash Copy code gcc hospital.c -o hospital Run the program:
bash Copy code ./hospital π₯οΈ Sample Output mathematica Copy code --- Hospital Management System ---
- Add Patient
- Display All Patients
- Search Patient
- Update Patient
- Delete Patient
- Exit Enter choice: 1 Enter Patient ID: 101 Enter Name: Rahul Enter Age: 25 Enter Disease: Fever Patient added successfully!
Enter choice: 2 --- Patient Records --- ID: 101 | Name: Rahul | Age: 25 | Disease: Fever π Use Cases College projects / lab work
Internship assignments
Resume projects (C + File Handling + Data Management)
β¨ Future Enhancements Add Doctor records
Manage Appointments & Billing
Add Login system (Admin / Receptionist)
Export patient reports to text/CSV
π¨βπ» Author Developed by [Your Name] π§ Email: your-email@example.com π GitHub: your-username
yaml Copy code
π Replace your-username and your-email@example.com with your details before uploading.
Do you want me to also prepare a resume-ready one-liner project description for this?
You said: in one gone only becoz i hae to copy it
ChatGPT said: Got it π. Hereβs the complete README.md in one go (ready to copy for GitHub):
markdown Copy code
A menu-driven project in C for managing patient records in a hospital.
Built using C language and file handling to store data dynamically (persistent across program runs).
This project is suitable for college assignments, internships, and resume building.
- β Add Patient (ID, Name, Age, Disease)
- π Display All Patients
- π Search Patient by ID
- βοΈ Update Patient details
- β Delete Patient record
- πΎ File handling for permanent storage
- C Language
- File Handling (
fopen,fread,fwrite,fseek) - Structures in C
Hospital-Management-System/ β-- hospital.c # Main source code β-- hospital.dat # Auto-generated data file β-- README.md # Project documentation
yaml Copy code
- Clone this repo or download the source code:
git clone https://github.com/your-username/Hospital-Management-System.git
Open terminal in the project folder and compile:
bash Copy code gcc hospital.c -o hospital Run the program:
bash Copy code ./hospital π₯οΈ Sample Output mathematica Copy code --- Hospital Management System ---
- Add Patient
- Display All Patients
- Search Patient
- Update Patient
- Delete Patient
- Exit Enter choice: 1 Enter Patient ID: 101 Enter Name: Rahul Enter Age: 25 Enter Disease: Fever Patient added successfully!
Enter choice: 2 --- Patient Records --- ID: 101 | Name: Rahul | Age: 25 | Disease: Fever π Use Cases College projects / lab work
Internship assignments
Resume projects (C + File Handling + Data Management)
β¨ Future Enhancements Add Doctor records
Manage Appointments & Billing
Add Login system (Admin / Receptionist)
Export patient reports to text/CSV