feat(ex00): it works

This commit is contained in:
Khaïs COLIN 2025-05-12 12:01:05 +02:00
parent 8cfb880a3a
commit b9ff91c653
Signed by: logistic-bot
SSH key fingerprint: SHA256:RlpiqKeXpcPFZZ4y9Ou4xi2M8OhRJovIwDlbCaMsuAo
7 changed files with 57 additions and 1 deletions

10
ex00/Zombie.cpp Normal file
View file

@ -0,0 +1,10 @@
#include "Zombie.hpp"
#include <iostream>
void Zombie::announce(void) {
std::cout << name << ": " << "BraiiiiiiinnnzzzZ..." << std::endl;
}
Zombie::Zombie(std::string name) { this->name = name; }
Zombie::~Zombie() { std::cout << name << " is heading out." << std::endl; }