You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.1 KiB
25 lines
1.1 KiB
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* main.cpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: narnaud <narnaud@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2022/06/14 07:59:29 by narnaud #+# #+# */
|
|
/* Updated: 2022/06/16 12:44:26 by narnaud ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
# include "Zombie.hpp"
|
|
|
|
int main(void)
|
|
{
|
|
Zombie *zombs = zombieHorde(ZB_AMOUNT, "Zombie");
|
|
|
|
for (int i = 0; i < ZB_AMOUNT; i++)
|
|
zombs[i].announce();
|
|
delete [] zombs;
|
|
if (DEBUG)
|
|
system("leaks apocalypse");
|
|
return (EXIT_SUCCESS);
|
|
}
|
|
|