update: rm -rf to restart from scratch

This commit is contained in:
Raphael 2025-02-18 20:20:27 +01:00
parent 42e83d8e62
commit 5e999def3a
45 changed files with 813 additions and 366 deletions

View file

@ -5,22 +5,34 @@
/* +:+ +:+ +:+ */
/* 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 */
/* Created: 2025/02/18 16:22:05 by rparodi #+# #+# */
/* Updated: 2025/02/18 17:17:44 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#include "WrongCat.hpp"
#include <iostream>
WrongCat::WrongCat() {
std::cout << "[WrongCat]\tCreating the class" << std::endl;
std::cout << "[WrongCat]\tCreating WrongCat class" << std::endl;
type = "WrongCat";
}
WrongCat::WrongCat(WrongCat const & copy) {
std::cout << "[WrongCat]\tCreating WrongCat class (copy)" << std::endl;
this->type = copy.type;
}
WrongCat & WrongCat::operator=(WrongCat const & assign) {
std::cout << "[WrongCat]\tCreating WrongCat class (assign)" << std::endl;
this->type = assign.type;
return *this;
}
WrongCat::~WrongCat() {
std::cout << "[WrongCat]\tDeleting the class" << std::endl;
std::cout << "[WrongCat]\tDeleting WrongCat class" << std::endl;
}
void WrongCat::makeSound() const {
std::cout << "🙀 | Help me I transform my self in cat" << std::endl;
std::cout << "[WrongCat]\t🐱 | Wouf wouf" << std::endl;
}