Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Cab Booking System

A console-based Cab Booking System developed in C++ using Object-Oriented Programming (OOP), STL, and Dijkstra's Algorithm. The application allows users to book rides, assigns the nearest available driver, calculates the shortest route and fare, and maintains ride history.

Features

  • Book a cab between two locations
  • Find the nearest available driver
  • Calculate the shortest path using Dijkstra's Algorithm
  • Fare calculation based on cab type and travel distance
  • Driver rating system
  • Ride history
  • Display all available locations and drivers
  • Tie-breaking based on driver average rating

Technologies Used

  • C++
  • Object-Oriented Programming (OOP)
  • Standard Template Library (STL)
  • Graphs
  • Dijkstra's Algorithm

How to Run

  1. Compile the program:

    g++ main.cpp -o CabBooking
  2. Run the executable:

    ./CabBooking

Future Improvements

  • User authentication
  • Driver authentication
  • Ride cancellation
  • Online payment integration
  • Database support
  • Graphical User Interface (GUI)

Author

Ronit

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages