How anshkakusth/dst-and-ds-project works
This is a single-file, console-based static cab-booking program. The user registers or logs in, selects locations, receives a shortest route and fare, chooses and confirms a cab, watches the simulated journey, then pays and rates the driver. The route calculation, cab handling, and menu workflow are implemented in one C++ file rather than separate services. The README documents the end-to-end flow; sampled excerpts confirm parts of the implementation, but gaps prevent verifying every internal call.
Main entry points: cab booking.cpp Menu Workflow
Components 12
User Interaction
- Menu Workflow
codes/cab booking.cpp - Login and Registration
codes/cab booking.cpp
Route Planning
- Location Map
codes/cab booking.cpp - Shortest Route
codes/cab booking.cpp
Cab Booking
- Fare Calculation
codes/cab booking.cpp - Cab Selection
codes/cab booking.cpp - Cab Details
codes/cab booking.cpp - Driver File
Trip Completion
- Journey Simulation
codes/cab booking.cpp - Static Payment
codes/cab booking.cpp - Driver Reviews
codes/cab booking.cpp
Other components
- Rider
Connections 11
- Rider → Menu Workflow: uses
README.md - Menu Workflow → Login and Registration: offers access
codes/cab booking.cpp - Menu Workflow → Location Map: presents choices
README.md - Menu Workflow → Shortest Route: requests route
README.md - Menu Workflow → Cab Selection: offers cabs
README.md - Cab Selection → Cab Details: shows details
codes/cab booking.cpp - Cab Details → Driver File: appends driver
codes/cab booking.cpp - Cab Selection → Fare Calculation: calculates fare
codes/cab booking.cpp - Menu Workflow → Journey Simulation: starts confirmed trip
README.md - Menu Workflow → Static Payment: requests payment
codes/cab booking.cpp - Menu Workflow → Driver Reviews: requests review
codes/cab booking.cpp