aboutsummaryrefslogtreecommitdiff
path: root/cpp01/ex03/ZombieHorde.hpp
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-11-09 11:26:50 +0100
committerCharles Cabergs <me@cacharle.xyz>2020-11-09 11:26:50 +0100
commitb799c007a1b6911fcbe5141429ea541e1277ebdd (patch)
treed70ad0826ad2fc2d635adf9afecf89af0838d20b /cpp01/ex03/ZombieHorde.hpp
parent1e9d90bdf9ef5fc05093d3449d883597c7f896de (diff)
downloadpiscine_cpp-b799c007a1b6911fcbe5141429ea541e1277ebdd.tar.gz
piscine_cpp-b799c007a1b6911fcbe5141429ea541e1277ebdd.tar.bz2
piscine_cpp-b799c007a1b6911fcbe5141429ea541e1277ebdd.zip
Fixing some edge cases in cpp00 and cpp01, Updated formatting
Diffstat (limited to 'cpp01/ex03/ZombieHorde.hpp')
-rw-r--r--cpp01/ex03/ZombieHorde.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp01/ex03/ZombieHorde.hpp b/cpp01/ex03/ZombieHorde.hpp
index 991c2ec..bb6bbde 100644
--- a/cpp01/ex03/ZombieHorde.hpp
+++ b/cpp01/ex03/ZombieHorde.hpp
@@ -6,7 +6,7 @@
/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/13 09:52:18 by charles #+# #+# */
-/* Updated: 2020/04/13 09:59:53 by charles ### ########.fr */
+/* Updated: 2020/11/09 10:53:45 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -15,17 +15,18 @@
# include <cstdlib>
# include <string>
+# include <iostream>
# include "Zombie.hpp"
class ZombieHorde
{
public:
- ZombieHorde(int n);
+ ZombieHorde(int n); // subject wants int
~ZombieHorde();
void announce();
private:
- size_t m_size;
+ size_t m_size;
Zombie** m_horde;
};