cpp04/ex00/WrongAnimal.hpp

21 lines
327 B
C++
Raw Permalink Normal View History

2025-05-30 08:14:26 +02:00
#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