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,18 +5,34 @@
/* +:+ +:+ +:+ */
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/01/30 13:32:43 by rparodi #+# #+# */
/* Updated: 2025/02/10 12:48:59 by rparodi ### ########.fr */
/* Created: 2025/02/18 16:22:05 by rparodi #+# #+# */
/* Updated: 2025/02/18 16:53:06 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#include "WrongCat.hpp"
#include <iostream>
WrongCat::WrongCat() {
std::cout << "[WrongCat]\tCreating the class" << std::endl;
std::cout << "[WrongCat]\t\tCreating WrongCat class" << std::endl;
type = "WrongCat";
}
WrongCat::~WrongCat() {
std::cout << "[WrongCat]\tDeleting the class" << std::endl;
WrongCat::WrongCat(WrongCat const & copy) {
std::cout << "[WrongCat]\t\tCreating WrongCat class (copy)" << std::endl;
this->type = copy.type;
}
WrongCat & WrongCat::operator=(WrongCat const & assign) {
std::cout << "[WrongCat]\t\tCreating WrongCat class (assign)" << std::endl;
this->type = assign.type;
return *this;
}
WrongCat::~WrongCat() {
std::cout << "[WrongCat]\t\tDeleting WrongCat class" << std::endl;
}
void WrongCat::makeSound() const {
std::cout << "[WrongCat]\t\t🐱 | Wouf wouf" << std::endl;
}