Animal, Dog and Cat classes created and finished

This commit is contained in:
2025-11-09 21:56:00 +01:00
parent 21a7edfacb
commit d893207a3c
8 changed files with 171 additions and 6 deletions

View File

@@ -40,3 +40,8 @@ void Animal::makeSound() const
{
std::cout << "Animal weird sounds..." << std::endl;
}
std::string Animal::getType() const
{
return (this->type);
}