#include "Animal.h" #include #include #include Animal::Animal(const std::string& name) : fName(name) {} void Animal::SetName(const std::string& newName) { fName = newName; } std::string Animal::GetName() const { return fName; } void Animal::MakeSound() const { throw CannotMakeSoundException(); }