ex01 name to zombie horde

This commit is contained in:
2025-09-07 19:18:20 +02:00
parent 7bfdcca2bf
commit fbca0865d8

View File

@@ -6,7 +6,7 @@
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */ /* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2025/09/05 16:42:21 by aortigos #+# #+# */ /* Created: 2025/09/05 16:42:21 by aortigos #+# #+# */
/* Updated: 2025/09/06 01:48:21 by aortigos ### ########.fr */ /* Updated: 2025/09/07 19:18:04 by aortigos ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@@ -19,8 +19,8 @@ int main()
Zombie *z; Zombie *z;
i = 0; i = 0;
N = 2; N = 3;
z = zombieHorde(N, ""); z = zombieHorde(N, "Angel");
while (i < N) while (i < N)
z[i++].announce(); z[i++].announce();