21 lines
339 B
C++
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
|