summaryrefslogtreecommitdiff
path: root/ex00/main.cpp
diff options
context:
space:
mode:
authorDominik Kaiser2025-02-10 10:58:20 +0100
committerDominik Kaiser2025-02-10 10:58:20 +0100
commit8f20b10f6bd9a938a1519f54100f8fbdcdc6431d (patch)
tree3f0d08f05d5e50086b23fecad7e61b9079c5d7dc /ex00/main.cpp
parentdc032706847335c7e76b26492725939318f5f84e (diff)
downloadcpp01-8f20b10f6bd9a938a1519f54100f8fbdcdc6431d.tar.gz
cpp01-8f20b10f6bd9a938a1519f54100f8fbdcdc6431d.zip
Add newZombie func
Diffstat (limited to 'ex00/main.cpp')
-rw-r--r--ex00/main.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/ex00/main.cpp b/ex00/main.cpp
index 820c484..295f75f 100644
--- a/ex00/main.cpp
+++ b/ex00/main.cpp
@@ -6,10 +6,14 @@
/* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/10 10:24:56 by dkaiser #+# #+# */
-/* Updated: 2025/02/10 10:27:00 by dkaiser ### ########.fr */
+/* Updated: 2025/02/10 10:56:08 by dkaiser ### ########.fr */
/* */
/* ************************************************************************** */
+#include "Zombie.hpp"
+
int main(void)
{
+ Zombie* z1 = newZombie("z1");
+ delete z1;
}