This project is a C++ application integrated with MySQL to simulate a movie ticket booking system.
It allows users to reserve seats, view availability, and update reservations in a database.
- Uses MySQL to store seat availability (
Tickettable). - Automatically creates the table if it does not exist.
- Displays a seating chart (5 rows × 10 seats).
- Reserved seats are marked with X, available seats with -.
- Prevents double booking by checking seat status before reserving.
- Seat reservations are stored in MySQL.
- Data remains consistent across multiple runs.
- Reserve a ticket.
- Exit the system.