d01 ex01 change name ZombieHorde because subject changed

This commit is contained in:
Hugo LAMY
2022-03-15 13:51:04 +01:00
parent 47d697f436
commit 66c68016ab
3 changed files with 1 additions and 1 deletions

12
d01/ex01/zombieHorde.cpp Normal file
View File

@@ -0,0 +1,12 @@
#include "Zombie.hpp"
Zombie* zombieHorde( int N, std::string name ) {
Zombie *zomboz = new Zombie[N];
for (int i = 0; i < N; i++)
zomboz[i].put_name( name );
return zomboz;
}