cpp04/ex00/Animal.hpp
2025-07-04 13:51:34 +02:00

20 lines
280 B
C++

#ifndef ANIMAL_HPP
#define ANIMAL_HPP
#include <string>
class Animal {
public:
Animal();
Animal(const Animal &other);
~Animal();
Animal &operator=(const Animal &other);
std::string getType() const;
void makeSound() const;
protected:
std::string type;
};
#endif