Salut mamienando;
en fait jai reglé mon problème, je te remerci infiniment pour ton aide
voici ma fonction:
=============================================
int compare (char* joueur1[23][35], char* joueur2[23][35], int lng)
{
int i=0,j, bool,x=1; //bool indique si une valeur est trouvée
int tab[23];
while (i<lng)
{
j=0; bool=0;
while ((j<lng)&& (bool==0))
{
if (strcmp(joueur1[i],joueur2[j])==0)
bool=1;// la valeur est trouvée
else
bool=0;
j++;
}
tab[i]=bool;
i++;
}
for (i=0;i<lng;i++) x=x*tab[i];
return x;
}
====================================================