//mammal.cpp //The implementations for the functions in mammal.h #include //cout, endl using namespace std: #include "mammal.h" //constructors and destructor Mammal::Mammal() {cout << "Making a Mammal\n";} Mammal::~Mammal() {cout << "Destroying a Mammal\n";} //accessors int Mammal::GetAge() {return itsAge;} void Mammal::SetAge(int a) {itsAge=a;} int Mammal::GetWeight() {return itsWeight;} void Mammal::SetWeight(int w) {itsWeight=w;} //other methods void Mammal::Speak() {cout << "A mammal is speaking.\n";} void Mammal::Sleep(){cout << "Zzzzzz\n";} void Mammal::Identify() //virtual {cout << "I am a Mammal.\n";} //After I have tested this class I just comment out the #define line. //#define MAMMAL_TEST #ifdef MAMMAL_TEST int main() { cout << "partial test stub for mammal" << endl; Mammal buddy; buddy.SetAge(3); buddy.SetWeight(45); cout <<"Buddy "<