1
0
This repository has been archived on 2024-11-25. You can view files and clone it, but cannot push or open issues or pull requests.
CPP_Module_01/ex01/main.cpp

28 lines
1.0 KiB
C++
Raw Normal View History

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/04 11:41:07 by adjoly #+# #+# */
/* Updated: 2024/11/04 18:59:15 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
#include "Zombie.hpp"
int main(void) {
Zombie *horde;
uint8_t i;
horde = zombieHorde(5, "Fabrice");
i = 0;
while (i < 5)
{
horde[i].announce();
i++;
}
delete[] horde;
}