feat: finishing the ex00 of the module 04

This commit is contained in:
Raphael 2025-01-31 19:58:32 +01:00
parent 1c1e515ceb
commit cbb34cf2e0
13 changed files with 181 additions and 36 deletions

26
cpp04/ex00/WrongCat.cpp Normal file
View file

@ -0,0 +1,26 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* WrongCat.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/01/30 13:32:43 by rparodi #+# #+# */
/* Updated: 2025/01/31 19:54:35 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#include "WrongCat.hpp"
WrongCat::WrongCat() {
std::cout << "[WrongCat]\tCreating the class" << std::endl;
type = "WrongCat";
}
WrongCat::~WrongCat() {
std::cout << "[WrongCat]\tDeleting the class" << std::endl;
}
void WrongCat::makeSound() const {
std::cout << "🙀 | Help me I transform my self in cat" << std::endl;
}