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

21 lines
339 B
C++

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