Esempio n. 1
0
int main(void)
{
	Human human;
	human.action("melee", "Zaz");
	human.action("ranged", "Thor");
	human.action("intimidating", "Tanguy");
	return (0);
}
Esempio n. 2
0
File: main.cpp Progetto: nyhu/PCPP
int main() {
    Human	attack;

	attack.action("meleeAttack", "Arthur");
	attack.action("rangedAttack", "Charly");
	attack.action("intimidatingShout", "Gaston");
    
	attack.action("fart", "shit");
    
    return 0;
}