Skip to content

SamipPandey/1st-Sem-Computer-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

61 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ₯ Hospital Management System (C Programming)

A comprehensive command-line interface (CLI) application designed to manage hospital operations efficiently. This project demonstrates the practical application of Nested Structures, Modular Functions, and Binary File Handling to manage patient and doctor records.


πŸš€ Key Features

  • Patient Registration: Store patient details including Name, Age, Disease, and Assigned Ward.
  • Doctor Database: Maintain a record of available doctors and their specializations.
  • Appointment Scheduling: Link patients to specific doctors.
  • Persistent Storage: All records are saved in .dat files, allowing the system to reload data after a restart.
  • Record Search: Quickly find patient history using a unique Patient ID.

πŸ› οΈ Technical Overview

This system is architected using:

  1. Structures: To handle complex data types (e.g., a Patient struct containing a Date struct for admission).
  2. File I/O: Using rb+, ab+, and wb modes to ensure data is updated without overwriting the entire database.
  3. Search & Sort: Simple algorithms to organize records by ID or Name.

πŸ“‚ File Structure

.
β”œβ”€β”€ hospital_main.c   # Main menu and execution flow
β”œβ”€β”€ records.dat       # Binary file containing encrypted/raw data
β”œβ”€β”€ patient_logs.txt  # Human-readable logs (optional)
└── README.md         # Project documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages