Skip to content

MrsRathode/Ticket-Booking-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎟 Movie Ticket Booking System (C++)

📖 Overview

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.


⚙ Features

  • 🎬 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.

🧠 Technologies Used

  • Language: C++
  • Concepts: Classes, File Handling, Loops, Conditionals
  • Tools: VS Code / GCC Compiler

🚀 How to Run

  1. Clone or download this repository.

  2. Open in VS Code (or any C++ IDE).

  3. Compile and run:

    g++ main.cpp -o ticket
    ./ticket
    
  4. Interact using the console menu.

💡 Example Output

🎟 Movie Ticket Booking System 🎟

  1. View Seats
  2. Book Ticket
  3. View All Bookings
  4. 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


📸 Screenshots

🎬 App Console View

Here’s how the app looks when you run it in the terminal:

Console Screenshot

Console Screenshot


🧾 Booking Confirmation Output

This shows the output after booking a seat successfully:

Booking Screenshot

🌟 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]

About

A simple C++ console-based ticket booking system with dynamic pricing and file storage.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages