Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

12th edition

133544613, 978-0133544619

More Books

Students also viewed these Algorithms questions

Question

What are the factors affecting organisation structure?

Answered: 1 week ago

Question

What are the features of Management?

Answered: 1 week ago

Question

Briefly explain the advantages of 'Management by Objectives'

Answered: 1 week ago