예제 #1
0
파일: main.cpp 프로젝트: tlepeche/Piscines
int main(void)
{
	std::srand(time(NULL));
	ZombieHorde *bob = new ZombieHorde(2);
	bob->announce();
	ZombieHorde *bobby = new ZombieHorde(3);
	bobby->announce();
	delete bob;
	ZombieHorde *bobo = new ZombieHorde(6);
	bobo->announce();
	delete bobo;
	delete bobby;
	return 0;
}
예제 #2
0
int				main(void)
{
	ZombieHorde *zh = new ZombieHorde(7);
    zh->announce();
	delete zh;

	return (0);
}
예제 #3
0
파일: main.cpp 프로젝트: ncoden/42_CPP_pool
int	main(void)
{
	ZombieHorde horde = ZombieHorde(8);
	horde.announce();
	return(0);
}