/* Filename: cars.cpp Author: Br. David Carlson Date: July 7, 1998 Revised: July 20, 2000 Revised: July 27,2006 for use in a Windows Forms App example. This file implements the Car class that was set up in cars.h. */ #include "stdafx.h" #include "cars.h" /* Given: Nothing. Task: To look up the number of doors of the implicit Car object. Return: This number of doors in the function name. */ int Car::GetDoors(void) const { return Doors; } /* Given: Nothing. Task: To look up the horsepower of the implicit Car object. Return: This horsepower number in the function name. */ int Car::GetHorsepower(void) const { return Horsepower; }