27 enum Type { Bull, BeefCow, MilkCow };
virtual ~CCow()
Definition: Cow.cpp:23
Type
The types of cow we can have on our farm.
Definition: Cow.h:27
static const int NumCowLegs
Number of legs on a cow.
Definition: Cow.h:21
double mMilkProduction
The milk production for a cow in gallons per day.
Definition: Cow.h:46
Type mType
The type of code: Bull, BeefCow, or MilkCow.
Definition: Cow.h:43
void ObtainCowInformation()
Definition: Cow.cpp:32
std::string mName
The cow's name.
Definition: Cow.h:40
virtual int NumLegs() const
Definition: Cow.h:36
void DisplayAnimal()
Definition: Cow.cpp:107
CCow()
Definition: Cow.cpp:16