update: module01/ex00

This commit is contained in:
Raphael 2024-11-04 16:42:43 +01:00
parent 6e1b64938d
commit 07022df125
10 changed files with 244 additions and 2 deletions

22
cpp01/ex00/main.cpp Normal file
View file

@ -0,0 +1,22 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/04 15:48:46 by rparodi #+# #+# */
/* Updated: 2024/11/04 16:40:59 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#include "Zombie.hpp"
int main()
{
Zombie roger = Zombie("Roger");
roger.announce();
Zombie *nathe = newZombie("Na");
nathe->announce();
delete nathe;
randomChump("Brancheuh");
}