A C++ Object-Oriented Programming (OOP) project demonstrating MySQL database integration using the MySQL C API.
This project manages hostel operations like reserving beds, tracking available rooms, and storing hostel details in a database.
π Database Connectivity: MySQL
π Language Used: C++
π Paradigm: Object-Oriented Programming
- π’ Hostel Management β Store hostel details such as name, available beds, and fee.
- ποΈ Bed Reservation System β Reserve a bed for students dynamically.
- π Database Integration β Uses MySQL to store and update hostel information.
- π― Real-Time Availability β Fetches the latest available beds before booking.
- π οΈ Exception Handling β Handles runtime and SQL errors gracefully.
- π§© OOP Concepts β Encapsulates hostel data and operations into classes.
| Technology | Purpose |
|---|---|
| C++ | Core programming language |
| MySQL | Database management |
| MySQL C API | Database connectivity |
| Windows.h | For clearing console and delays |
| OOP Principles | Encapsulation, abstraction, and modularity |