1
0
This repository has been archived on 2024-11-25. You can view files and clone it, but cannot push or open issues or pull requests.
CPP_Module_01/ex00/newZombie.cpp

23 lines
1.0 KiB
C++

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* newZombie.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/04 14:42:36 by adjoly #+# #+# */
/* Updated: 2024/11/04 14:49:42 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
#include <iostream>
#include "Zombie.hpp"
Zombie *newZombie(std::string name) {
Zombie *zombie;
zombie = new Zombie(name);
return (zombie);
}