Skip to content

0xAditya-Labs/Airline-Reservation-System-C-OOP-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โœˆ๏ธ Airline Reservation System (C++ | OOP)

A modular Airline Management System built in C++ using pure Object-Oriented Programming principles. Includes ticket booking, cancellation, and crew management with strong OOP architecture.

โœ… Features

  • Book/cancel tickets (up to 50 seats)
  • Generate ticket as ticket.txt
  • View crew details
  • Admin-protected crew edit
  • Fully modular structure
  • Encapsulated data privacy (e.g., passengers)

๐Ÿง  OOP Concepts

  • Abstraction: Abstract class Employee
  • Inheritance: Pilot, AirHostess from Employee
  • Polymorphism: show_details() overridden for each role
  • Encapsulation: Private member variables and public accessors

๐Ÿ“ Project Structure

Airline-System-Mang-OOP-CPP/
โ”œโ”€โ”€ include/               # All class definitions (.h files)
โ”‚   โ”œโ”€โ”€ Employee.h
โ”‚   โ”œโ”€โ”€ Pilot.h
โ”‚   โ”œโ”€โ”€ AirHostess.h
โ”‚   โ”œโ”€โ”€ Passenger.h
โ”‚   โ””โ”€โ”€ Flight.h
โ”œโ”€โ”€ src/                   # Class implementations (.cpp files)
โ”‚   โ”œโ”€โ”€ Passenger.cpp
โ”‚   โ””โ”€โ”€ Flight.cpp
โ”œโ”€โ”€ main.cpp               # Program entry point
โ”œโ”€โ”€ ticket.txt             # Auto-generated ticket file
โ””โ”€โ”€ README.md              # Project documentation

๐Ÿ› ๏ธ Build Instructions

g++ main.cpp src/*.cpp -Iinclude -o airline
./airline

๐Ÿ”ฎ Future Scope

  • ๐ŸŒ Convert the system into a full-stack web application using React (Frontend) and Node.js or Django (Backend)
  • ๐Ÿงพ Add database integration (e.g., MySQL or MongoDB) to persist passengers and flight data
  • โœˆ๏ธ Real-time seat allocation system with GUI
  • ๐Ÿ”’ Role-based authentication and dashboards (Admin, Passenger, Staff)
  • ๐Ÿ“Š Analytics for bookings, earnings, and crew assignment
  • โ˜๏ธ Deployable on cloud platforms like AWS or Azure for production usage
  • ๐Ÿ“ฑ Mobile app version using Flutter or React Native

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages