3
answers
2
watching
252
views

You are contracted to complete the data system for Citywide Taxi Company. Now, the information for each taxi is expanded to include: taxi id (such as CTC0001), the driver’s name, the maker of the Car (such as Ford), the model of the car (such as Escape), the Color of the Car (such as Black), the license number (such as HXT 4578), the number of passages the car served in the entire shift (integer type, this field will be left empty for this project). Your C++ program will (with array of class object):  

  1. Define a class for the car with all members of variable mentioned above as private; (20 points)
  2. Write all necessary class member functions to access those member variables (write or read); (40 points)
  3. Read up to 50 records of data from the keyboard (provide a method to end the input before reaching 50 records); (10 points)
  4. Save all records inputted from step 3 to a disk file called CTC.dat. (30 points)

For unlimited access to Homework Help, a Homework+ subscription is required.

Avatar image
Read by 1 person

Unlock all answers

Get 1 free homework help answer.
Already have an account? Log in
Avatar image
Read by 2 people
Already have an account? Log in
Avatar image
Read by 2 people
Already have an account? Log in

Related questions

Weekly leaderboard

Start filling in the gaps now
Log in