42_CPP04/ex00/src/Animal.hpp
Camille Chauvet 7a64f69133 add ex00
2023-08-09 14:50:52 +00:00

20 lines
264 B
C++

#pragma once
#include <string>
class Animal
{
public:
Animal();
Animal(const Animal& src);
Animal &operator=(const Animal& src);
virtual ~Animal();
std::string getType() const;
virtual void makeSound() const;
protected:
std::string type;
};