-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
26 lines (23 loc) · 1.1 KB
/
main.cpp
File metadata and controls
26 lines (23 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: zelhajou <zelhajou@student.1337.ma> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/06 11:52:56 by zelhajou #+# #+# */
/* Updated: 2024/06/08 10:47:58 by zelhajou ### ########.fr */
/* */
/* ************************************************************************** */
#include "Zombie.hpp"
int main()
{
int N = 26;
Zombie *zombies = zombieHorde(N, "HordeZombie");
for (int i = 0; i < N; i++) {
std::cout << "[" << i + 1 << "] ";
zombies[i].announce();
}
delete[] zombies;
return 0;
}