CPP01 1.0
読み取り中…
検索中…
一致する文字列を見つけられません
randomChump.cpp
[詳解]
1/* ************************************************************************** */
2/* */
3/* ::: :::::::: */
4/* randomChump.cpp :+: :+: :+: */
5/* +:+ +:+ +:+ */
6/* By: kamitsui <kamitsui@student.42tokyo.jp> +#+ +:+ +#+ */
7/* +#+#+#+#+#+ +#+ */
8/* Created: 2025/04/14 21:08:38 by kamitsui #+# #+# */
9/* Updated: 2025/04/23 01:34:11 by kamitsui ### ########.fr */
10/* */
11/* ************************************************************************** */
12
18#include "Zombie.hpp"
19
28 Zombie zombie(name);
29 zombie.announce();
30}
Represents a Zombie.
Definition Zombie.hpp:30
void announce(void)
Announces the zombie.
Definition Zombie.cpp:48
Declares the Zombie class and the zombieHorde function.
void randomChump(std::string name)
Creates a Zombie on the stack and makes it announce itself.