aboutsummaryrefslogtreecommitdiff
path: root/cpp01/ex02/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp01/ex02/main.cpp')
-rw-r--r--cpp01/ex02/main.cpp16
1 files changed, 15 insertions, 1 deletions
diff --git a/cpp01/ex02/main.cpp b/cpp01/ex02/main.cpp
index 1df20d2..291fddb 100644
--- a/cpp01/ex02/main.cpp
+++ b/cpp01/ex02/main.cpp
@@ -1,11 +1,24 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* main.cpp :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/04/13 09:47:21 by charles #+# #+# */
+/* Updated: 2020/04/13 09:48:29 by charles ### ########.fr */
+/* */
+/* ************************************************************************** */
+
#include <cstdlib>
#include "Zombie.hpp"
#include "ZombieEvent.hpp"
int main()
{
- Zombie *z;
+ Zombie* z;
ZombieEvent zevent;
+ Zombie zStack("onTheStack", "IdontLikeHeap");
srand(time(NULL));
zevent.setZombieType("standard");
@@ -16,5 +29,6 @@ int main()
z = zevent.randomChump();
delete z;
}
+
return 0;
}