Files
42_INT_09_piscine_cpp/d04/WrongCat.cpp
Hugo LAMY ba3b88f0bf d04 ex00
2022-02-24 17:12:17 +01:00

41 lines
812 B
C++

#include "WrongCat.hpp"
/*********************************************
* CONSTRUCTORS
*********************************************/
WrongCat::WrongCat() {
type = "wrong_cat";
return;
}
WrongCat::WrongCat( WrongCat const & src ) {
*this = src;
return;
}
/*********************************************
* DESTRUCTORS
*********************************************/
WrongCat::~WrongCat() {
return;
}
/*********************************************
* OPERATORS
*********************************************/
WrongCat & WrongCat::operator=( WrongCat const & rhs ) {
WrongAnimal::operator=(rhs);
return *this;
}
/*********************************************
* PUBLIC MEMBER FUNCTIONS
*********************************************/
void WrongCat::makeSound() const {
std::cout << "*miaow*\n";
}