20 lines
327 B
C++
20 lines
327 B
C++
#ifndef WRONG_ANIMAL_HPP
|
|
#define WRONG_ANIMAL_HPP
|
|
|
|
#include <string>
|
|
|
|
class WrongAnimal {
|
|
public:
|
|
WrongAnimal();
|
|
WrongAnimal(const WrongAnimal &other);
|
|
~WrongAnimal();
|
|
WrongAnimal &operator=(const WrongAnimal &other);
|
|
|
|
std::string getType() const;
|
|
void makeSound() const;
|
|
|
|
protected:
|
|
std::string type;
|
|
};
|
|
|
|
#endif
|