/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* main.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: narnaud +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* 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"); int i = 0; while (i < ZB_AMOUNT) zombs[i++].announce(); delete [] zombs; if (DEBUG) system("leaks apocalypse"); return (EXIT_SUCCESS); }