The Movie Ticket Booking System is a simple console-based C++ application that allows users to view seat availability, book tickets, and view all previous bookings.
It uses Object-Oriented Programming and file handling to store booking details permanently, providing a smooth, real-world booking experience in the terminal.
- 🎬 View Seats: Shows all available and booked seats.
- 💺 Book Tickets: Lets users select a seat and confirm booking.
- 💰 Dynamic Pricing: Increases price based on seat number.
- 🧾 Save Bookings: All details stored in bookings.txt.
- 📂 View History: Displays all user bookings from the file.
- Language: C++
- Concepts: Classes, File Handling, Loops, Conditionals
- Tools: VS Code / GCC Compiler
-
Clone or download this repository.
-
Open in VS Code (or any C++ IDE).
-
Compile and run:
g++ main.cpp -o ticket ./ticket
-
Interact using the console menu.
💡 Example Output
🎟 Movie Ticket Booking System 🎟
- View Seats
- Book Ticket
- View All Bookings
- Exit Enter your choice: 2 Enter seat number to book: 4 Enter your name: Anusha Ticket booked successfully!
File output (bookings.txt): Name: Anusha, Seat: 4, Price: 190
Here’s how the app looks when you run it in the terminal:
This shows the output after booking a seat successfully:
🌟 FUTURE ENHANCEMENTS 🌟
GUI version using Qt or web interface
Multi-movie selection
Online payment simulation
Admin panel for managing all bookings
🏆 Project Author
Anusha 🔗 GitHub: [https://github.com/MrsRathode/Ticket-Booking-System.git]


