feat: finishing the exercice 01 of the module 03

This commit is contained in:
Raphael 2025-01-10 16:02:45 +01:00
parent 5a33a3c5b7
commit 4971decf2d
5 changed files with 231 additions and 0 deletions

21
cpp03/ex00/main.cpp Normal file
View file

@ -0,0 +1,21 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/01/10 15:50:07 by rparodi #+# #+# */
/* Updated: 2025/01/10 15:57:10 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#include "ClapTrap.hpp"
int main(void) {
ClapTrap test("Norminet");
test.attack("Moulinette");
test.takeDamage(42);
test.beRepaired(42);
return (0);
}