cpp04/ex02/WrongAnimal.hpp

21 lines
430 B
C++

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