cpp/cpp04/ex00/WrongAnimal.hpp
Alexandre POMMIER 04eaf3c332 little step ex05
2022-08-04 19:46:56 +02:00

36 lines
1.2 KiB
C++

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* WrongAnimal.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/07/17 10:53:59 by apommier #+# #+# */
/* Updated: 2022/08/04 14:13:19 by apommier ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef WRONGANIMAL_HPP
# define WRONGANIMAL_HPP
#include <string>
#include <iostream>
class WrongAnimal {
public:
WrongAnimal();
WrongAnimal(const WrongAnimal& copy);
virtual ~WrongAnimal();
WrongAnimal &operator=(const WrongAnimal& rhs);
void makeSound(void) const;
std::string getType(void) const;
protected:
std::string type;
};
#endif