How to Create a Movie Reservation System in C
- Project length: 4h 59m
A Movie Reservation System is a piece of software that allows the booking of tickets for available movies, managing the tickets, and managing the list of movies in the system. Learning how to create a Movie Reservation System using the C programming language is what you need to polish your programming skills, understand how to build real-life applications from scratch, and take your skills to the next level.
In this video series, we are going to create a Movie Reservation System using the C programming language.
The created system will have the following three operation modes:
- User Mode—where users can view the available movies and book tickets.
- Moderator Mode—where moderators can manage all the users’ tickets.
- Admin Mode—where administrators can manage the movies in the system.
Furthermore, to have a complete and comprehensive system, two linked lists of data structures are going to be built.
What are the requirements?
- C programming
- Linux operating system
What is the target audience?
- This hands-on tutorial is targeted to anyone familiar with the basics of the C language and wants to gain useful skills in building complete applications. Although it’s mostly suited for beginner and intermediate programmers, even experienced C programmers will greatly benefit from this tutorial.
Session 1: Description of the system
- Presentation of the project requirements and features.
Session 2: Creation of the movie list
- Session 2.1: Setting up VsCode and our project files
- Session 2.2: Introduction to the linked list data structure
- Session 2.3: Creating a header file for the movie list
- Sessions 2.4 - 2.6: Implementing and testing basic list methods such as create, destroy, insert, and print
- Session 2.7: Implementing a delete option from the movie list method
Session 3: Creation of Operation Modes and Makefile
- Implementation of the three different operation modes.
- How to create a Makefile for a C program.
Session 4: Loading / Storing movies in a file
- Sessions 4.1-4.2: Saving the movie linked list in a file to allow for easy loading in future executions of the program Testing the two new methods to ensure everything is working correctly
Session 5: Implementing admin operation mode
- Session 5.1-5.2: Using the movie list data structure to grant system administrators the permission to view the available movies, create new movies, or delete old ones
Session 6: Implementing user operation mode and data structure to store tickets
- Session 6.1: Creating the user application interface.
- Sessions 6.2 - 6.3: Creating and testing the data structure that stores tickets (linked list).
- Session 6.4: Using the ticket list to finish the User Operation Mode.
Session 7: Implementing Moderator Operation Mode
- Sessions 7.1-7.2: Using the ticket list data structure to view users’ tickets through the Moderator Operation Mode and carry out other duties such as deleting prepaid or tickets with pending payments
Session 8: Final thoughts
- Recapping of the whole project, debugging of some system problems, and preparing the final files