feat: finishing the exercice 01 of the module 03
This commit is contained in:
parent
5a33a3c5b7
commit
4971decf2d
5 changed files with 231 additions and 0 deletions
21
cpp03/ex00/main.cpp
Normal file
21
cpp03/ex00/main.cpp
Normal 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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue