Introduction - If you have any usage issues, please Google them yourself
There is a car class vehicle, it has a need to pass parameters to the constructor, the class data members- the number of wheels and vehicle wheels, heavy weight on the protection of the protected segment it has a number of public functions to return the wheel get_wheels, there is a return to the public function of vehicle weight get_weight, there is a calculation of the weight of each wheel load (vehicle weight divided by the number of wheels) in the public function of wheel_load, a public print function of print, it will output the number and weight of vehicle wheels.
Car class car is its private derived class that contains a private data member patronage passenger_load, the definition of small car class constructor, a number of public access to patronage member functions get_passengers, a public print function, it will output trolley wheel number, weight and capacity.
Pickup truck is also its private derived class contains two private data members of the load carrying capacity p