https://github.com/saadarazzaq/al-saadi-international-airlines
An Airline Seat Reservation CLI App in C++
https://github.com/saadarazzaq/al-saadi-international-airlines
airline-reservation-system cli-cpp grid-layout interactive programming-fundamentals
Last synced: 3 months ago
JSON representation
An Airline Seat Reservation CLI App in C++
- Host: GitHub
- URL: https://github.com/saadarazzaq/al-saadi-international-airlines
- Owner: SaadARazzaq
- Created: 2023-07-25T19:35:58.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-25T19:58:16.000Z (almost 2 years ago)
- Last Synced: 2025-01-23T16:14:31.733Z (5 months ago)
- Topics: airline-reservation-system, cli-cpp, grid-layout, interactive, programming-fundamentals
- Language: C++
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Al Saadi International Airlines ✈️🔥
## 📕Description
An Airline Seat Resevation CLI based application that allows users to book seats on a flight in different classes: First Class, Business Class, and Economy Class. The program provides a grid-based visual representation of the available seats ('*') and allows users to book seats interactively as well as strictly keeping the Booked/Occupied Seats ('X') in view.## 👀Features
- Clear and user-friendly CLI interface with colored output for improved readability.
- Three classes: First Class, Business Class, and Economy Class, each with designated seat ranges.
- Real-time seat availability display with the option to mark seats as occupied.
- Interactive booking process with error handling for invalid inputs.
- Ability to register multiple seats in a single session.## 🌠Screenshots





## ⚒️Usage
1. Run the `app.cpp` file to start the program.
2. Select the desired class by entering the corresponding number from the displayed menu.
3. Choose the row and seat number for the seat you wish to book.
4. If the seat is available, it will be marked as booked ('X') on the grid. All the available seats are marked as ('*')
5. If the seat is already occupied, a warning message will be shown, and you can choose a different seat.
6. The program allows booking seats until you decide to exit.## ⏮️Prerequisites
- C++ Compiler (e.g., g++) ~ Recommended: Visual Studio, VS Code## 🏃♂️How to Run
1. Clone the Repository `https://github.com/SaadARazzaq/Al-Saadi-International-Airlines.git` to your local machine.
2. Open the terminal or command prompt and navigate to the repository directory.
3. Compile the `app.cpp` file using a C++ compiler.
```
g++ app.cpp -o app4. Run the compiled executable.
5. Enjoy Reserving Seat at Al Saadi International Airlines 😎## 🥸Authors
- [Saad Abdur Razzaq](https://github.com/SaadARazzaq)