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.
- 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
- C++
- Object-Oriented Programming (OOP)
- Standard Template Library (STL)
- Graphs
- Dijkstra's Algorithm
-
Compile the program:
g++ main.cpp -o CabBooking
-
Run the executable:
./CabBooking
- User authentication
- Driver authentication
- Ride cancellation
- Online payment integration
- Database support
- Graphical User Interface (GUI)
Ronit