#include #include #include "AnimalT.h" using namespace std; AnimalT::AnimalT(int myID, std::string myName): id(myID), name(myName){} int AnimalT::ID() const{ return id; } string AnimalT::GetName() const{ return name; } void AnimalT::SetName(string n){ name = n; } void AnimalT::Identify(void) const{ cout << "My name is " << name << endl; cout << "My id is " << id << endl; }