Movie Ticket Booking Synopsis Formatted
Movie Ticket Booking Synopsis Formatted
3. Proposed Modules
- Movie Management Module: Displays available movies and manages movie data.
- Seat Layout Module: Displays seat categories and their booking status using formatted
output.
- Booking Module: Accepts user input for seat numbers and checks for availability.
- File Handling Module: Saves and loads bookings to/from bookings.txt.
- User Input & Validation Module: Ensures correct movie and seat number inputs are given.
4. Required Topics from the Subject
- Strings: Used for storing and comparing movie names and user inputs using functions like
strcpy() and strcmp().
- Structures: Used to group related data like movie title, seat array, and booking records
under one logical unit.
- Arrays: Seats, movies, and seat selections are stored in arrays for efficient access and
iteration.
- File Handling: Bookings are persistently stored using fopen(), fprintf(), and fgets().
- Functions: The code is divided into modular functions like initializeMovies(),
displaySeats(), and bookSeats() to improve readability.
- Pointers: Used implicitly in file and string handling operations such as fgets() and strtok().
5. Platform Required
- Code::Blocks – Lightweight IDE suitable for C/C++ development.
- Visual Studio – Full-featured IDE that offers advanced features for larger applications.
- Turbo C++ – Suitable for academic setups, though limited in modern support.
- GCC – Can be compiled and run from terminal using GCC compiler on Windows/Linux.