style: respecting the order of the file

This commit is contained in:
Raphael 2025-01-31 18:02:30 +01:00
parent dff7b8c37a
commit 1c1e515ceb
11 changed files with 133 additions and 8 deletions

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

@ -0,0 +1,26 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Dog.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/01/30 13:40:30 by rparodi #+# #+# */
/* Updated: 2025/01/30 13:40:51 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#include "Dog.hpp"
Dog::Dog() {
std::cout << "[Dog] Creating the class" << std::endl;
type = "Dog";
}
Dog::~Dog() {
std::cout << "[Dog] Deleting the class" << std::endl;
}
std::string Dog::getType() {
return (type);
}