cpp01...
This commit is contained in:
28
ex00/main.cpp
Normal file
28
ex00/main.cpp
Normal file
@@ -0,0 +1,28 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* main.cpp :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/09/05 16:42:21 by aortigos #+# #+# */
|
||||
/* Updated: 2025/09/06 01:59:00 by aortigos ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "Zombie/Zombie.hpp"
|
||||
|
||||
int main()
|
||||
{
|
||||
Zombie *z;
|
||||
|
||||
z = newZombie("Angel");
|
||||
|
||||
z->announce();
|
||||
|
||||
randomChump("Estudiante42");
|
||||
|
||||
delete(z);
|
||||
|
||||
return (0);
|
||||
}
|
||||
Reference in New Issue
Block a user