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.

26 lines
1.1 KiB

3 years ago
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: narnaud <narnaud@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/06/14 07:59:29 by narnaud #+# #+# */
/* Updated: 2022/07/18 08:19:08 by narnaud ### ########.fr */
3 years ago
/* */
/* ************************************************************************** */
# include "Zombie.hpp"
int main(void)
{
Zombie *zombs = zombieHorde(ZB_AMOUNT, "Z");
3 years ago
for (int i = 0; i < ZB_AMOUNT; i++)
zombs[i].announce();
3 years ago
delete [] zombs;
if (DEBUG)
system("leaks apocalypse");
return (EXIT_SUCCESS);
}