// Stephen Jackson // Section Wilkerson // 4 / 4 / 07 // Something about cows #include "farmer.h" using namespace std; //Creates the farmer //Pre: A Name //post: The created farmer farmer::farmer(string Name) { fName = Name; } //Defeats a cow //Pre: A bovine //post: A dead bovine void farmer::eliminateInfidel(bovine &aCow) { aCow.bDead = true; } //Makes a bull a steer //Pre: A cow //post: If they were a bull, they become a steer, otherwise, they are the same. void farmer::castrate(bovine &aCow) { if(aCow.bClass == BOVINE_BULL_CLASS) aCow.bClass = BOVINE_STEER_CLASS; }