feat: starting the ex01
This commit is contained in:
parent
13deee8e3c
commit
1cff8e9d9e
11 changed files with 374 additions and 0 deletions
26
cpp04/ex01/Cat.cpp
Normal file
26
cpp04/ex01/Cat.cpp
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* Cat.cpp :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/01/30 13:32:43 by rparodi #+# #+# */
|
||||
/* Updated: 2025/01/30 13:38:46 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "Cat.hpp"
|
||||
|
||||
Cat::Cat() {
|
||||
std::cout << "[Cat] Creating the class" << std::endl;
|
||||
type = "Cat";
|
||||
}
|
||||
|
||||
Cat::~Cat() {
|
||||
std::cout << "[Cat] Deleting the class" << std::endl;
|
||||
}
|
||||
|
||||
std::string Cat::getType() {
|
||||
return (type);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue