Skip to content

YashKathait28/Hospital-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 

Repository files navigation

πŸ₯ Hospital Management System (C Language)

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.


πŸš€ Features

  • βž• Add Patient (ID, Name, Age, Disease)
  • πŸ“‹ Display All Patients
  • πŸ” Search Patient by ID
  • ✏️ Update Patient details
  • ❌ Delete Patient record
  • πŸ’Ύ File handling for permanent storage

πŸ› οΈ Technologies Used

  • C Language
  • File Handling (fopen, fread, fwrite, fseek)
  • Structures in C

πŸ“‚ File Structure

Hospital-Management-System/ β”‚-- hospital.c # Main source code β”‚-- hospital.dat # Auto-generated data file β”‚-- README.md # Project documentation

yaml Copy code


▢️ How to Run

  1. 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 ---

  1. Add Patient
  2. Display All Patients
  3. Search Patient
  4. Update Patient
  5. Delete Patient
  6. 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

πŸ₯ Hospital Management System (C Language)

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.


πŸš€ Features

  • βž• Add Patient (ID, Name, Age, Disease)
  • πŸ“‹ Display All Patients
  • πŸ” Search Patient by ID
  • ✏️ Update Patient details
  • ❌ Delete Patient record
  • πŸ’Ύ File handling for permanent storage

πŸ› οΈ Technologies Used

  • C Language
  • File Handling (fopen, fread, fwrite, fseek)
  • Structures in C

πŸ“‚ File Structure

Hospital-Management-System/ β”‚-- hospital.c # Main source code β”‚-- hospital.dat # Auto-generated data file β”‚-- README.md # Project documentation

yaml Copy code


▢️ How to Run

  1. 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 ---

  1. Add Patient
  2. Display All Patients
  3. Search Patient
  4. Update Patient
  5. Delete Patient
  6. 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

About

This is a hospital management system app which is used to help the hospital to handle there patients.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages