cpp/CPP04/ex01/Animal.hpp
2024-12-04 17:29:31 +01:00

21 lines
302 B
C++

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