Question: Designing a Simple Uber In this assignment you will develop a simple ride sharing application called New York Ride. Please read the entire handout before

Designing a Simple Uber In this assignment you will develop a simple ride sharing application called New York Ride. Please read the entire handout before starting to code the assignment. Learning Objectives Practice implementing and working with C++ classes. Practice using std::string, std::vector. Specification The New York Ride application should support 2 different roles: drivers, riders. Riders can perform two tasks: Request a ride Cancel a ride request Drivers can perform one task: Cancel a ride request Note: A commercial ride sharing product like Uber or Lyft of course allows riders and drivers to perform more tasks, but let's be honest, Uber/Lyft has thousands of software engineers, but you only have one person and only have one week to work on this assignment, so let's simplify the tasks. Input Files Companies like Uber and Lyft maintain all drivers and riders information in their database, but database is way beyond the scope of this course, and therefore we will just store drivers information and riders information in two simple text files, drivers.txt and riders.txt. In this assignment you will once again read these files as the input of your program, parse them so as to retrieve drivers and/or riders information, and store them in your own data structures. In this assignment, you must use std::vector to store drivers and riders. You are recommended to use one std::vector instance to store all drivers, use another std::vector instance to store all riders. can you give me a c++ code for this without using auto and making files named rider.h,rider.cpp, driver.h, driver.cpp and main.cpp

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Algorithms Questions!