You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.3 KiB

3 years ago
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* WrongAnimal.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: narnaud <narnaud@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/06/24 09:02:10 by narnaud #+# #+# */
/* Updated: 2022/06/24 10:15:37 by narnaud ### ########.fr */
/* */
/* ************************************************************************** */
#pragma once
#include <string>
#include <iostream>
using std::string;
using std::cout;
using std::endl;
class WrongAnimal{
public:
WrongAnimal(void);
WrongAnimal(string type);
WrongAnimal(WrongAnimal const & src);
virtual ~WrongAnimal(void);
WrongAnimal & operator= (WrongAnimal const & src);
string getType(void) const;
void makeSound(void) const;
protected:
string _type;
};