Exemple #1
0
int main(void)
{
	Human human;
	human.action("melee", "Zaz");
	human.action("ranged", "Thor");
	human.action("intimidating", "Tanguy");
	return (0);
}
Exemple #2
0
int main() {
    Human	attack;

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