Skip to content

aCoderFromAnotherWorld/Projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

24 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Projects

These are some projects that I made simply for learning basics of OOP with CPP... These are mainly based on cosole input output... But these can be implemented by file also...

πŸ₯ Hospital Manager (OOP with C++)

This project is a Hospital Management System built using Object-Oriented Programming (OOP) principles in C++.
It was originally developed as a course assignment during my 1st year, 2nd semester, and earned full marks.

The system allows management of doctors and patients in a hospital, including appointment scheduling, patient admission, record management, and doctor specialization mapping.


πŸš€ Features

  • πŸ”‘ Login system with password protection
  • πŸ‘¨β€βš•οΈ Doctor management
    • Add a new doctor with specialization and visiting hours
    • View all registered doctors
    • Resign a doctor
    • Search doctors by specialization
  • πŸ§‘β€πŸ¦½ Patient management
    • Admit a new patient with personal details and disease type
    • Automatically recommend doctors based on disease
    • View all admitted patients
    • Search patients by name
    • Release patients after treatment
  • ⏱ Time handling
    • Visiting hours are automatically calculated for doctors
  • πŸ” Change password option for login

πŸ“‚ Project Structure

The project uses several classes to implement OOP principles:

  • Login β†’ Handles authentication and password management
  • Time β†’ Manages doctor visiting hours
  • Doctor β†’ Stores doctor details (ID, name, speciality, visiting hours)
  • Patient β†’ Stores patient details (ID, name, age, blood group, gender, disease, contact)
  • HospitalManager β†’ Main manager class for handling doctors and patients

Additional helper functions are used for searching, recommending doctors, and managing records.


πŸ›  Technologies Used

  • Language: C++
  • Concepts Applied:
    • Classes & Objects
    • Friend functions
    • Operator overloading
    • Encapsulation
    • Inheritance-like access via friends
    • Standard Template Library (STL): vector, map, algorithm

πŸ“– How to Run

  1. Clone this repository:

    git clone https://github.com/your-username/Hospital-Manager.git
    cd Hospital-Manager
    
  2. Compile the code:

    g++ hospital_manager.cpp -o hospital_manager
  3. Run the program:

    ./hospital_manager
  4. Default login password is:

    12345

πŸ“Έ Example Workflow

  • Add doctors with their visiting hours and specializations
  • Admit patients with details β†’ system recommends relevant doctors
  • View or search existing patients/doctors
  • Release patients or resign doctors when needed

πŸ“Œ Future Improvements

  • Store data in files (persistence) instead of only in memory
  • Add graphical user interface (GUI)
  • Enhance search with fuzzy matching
  • Add billing and pharmacy management

πŸ‘¨β€πŸ’» Author

MD. Abu Hasanat Soykot
Undergraduate CSE Student, KUET


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages