Hospital Queue Management System
A simple console-based Hospital Queue Management System built in C++ that manages patients based on medical specialization and priority (urgent or regular).
---
Features
- Manage up to 20 medical specializations.
- Each specialization has a queue of up to 5 patients.
- Add patients as urgent or regular.
- Urgent patients are added to the front of the queue.
- Regular patients are added to the end of the queue.
- Display all waiting patients.
- Call the next patient for the doctor.
---
Requirements
- C++ Compiler (e.g., Code::Blocks, Visual Studio, or g++)
- Command Prompt or Terminal to run the program
---
Project Structure
main.cpp :https://github.com/Nermee...
README.md : Provides documentation for this project.
---
How to Use
1. Run the program.
2. Choose an option from the menu:
- Add new patient
- Print all patients
- Get next patient
- Exit
3. When adding a patient, enter:
- Specialization number (1–20)
- Patient name
- Status (1 for urgent, 0 for regular)
---
Concepts Used
- C++ Structs
- Constructors
- Arrays
- Queue operations
- Menu-driven programs
This project focuses on practicing fundamental C++ concepts and basic data structure implementation.