Animal, Dog and Cat classes created and finished
This commit is contained in:
@@ -40,3 +40,8 @@ void Animal::makeSound() const
|
||||
{
|
||||
std::cout << "Animal weird sounds..." << std::endl;
|
||||
}
|
||||
|
||||
std::string Animal::getType() const
|
||||
{
|
||||
return (this->type);
|
||||
}
|
||||
Reference in New Issue
Block a user