This is a simple C++ program for booking movie tickets. The program displays available movies, allows the user to reserve and cancel tickets, and generates receipts for each transaction.
- Display a list of movies with showtimes
- Book tickets
- Cancel ticket
- Generate and save receipts
- C++ compiler (GCC, MinGW, etc.)
- Linux or Windows environment
-
Install a C++ compiler if you don't have one (e.g., GCC):
sudo apt update sudo apt install g++
-
Clone the repository from GitHub:
git clone https://github.com/GET-UNKNOWN-ERR0R/movie-ticket-booking.git cd movie-ticket-booking
-
Compile the program:
g++ main.cpp ticketsystem.cpp -o moviebooking
-
Run the program:
./moviebooking
-
The receipts will be saved in the
receipts
folder.
-
Install a C++ compiler like MinGW:
- Download MinGW from MinGW
- Add
bin
directory to the PATH.
-
Download or clone this repository.
-
Open the Command Prompt and navigate to the project directory.
-
Compile the program:
g++ main.cpp ticketsystem.cpp -o moviebooking.exe
-
Run the program:
moviebooking.exe
-
Receipts will be saved in the
receipts
folder.