cpp04/ex00/Animal.hpp

21 lines
280 B
C++
Raw Permalink Normal View History

2025-05-30 08:14:26 +02:00
#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