Je ne comprends pas comment ta boucle fonctionne:


while ( fgets(chaine, 500, fichier) != NULL ){
l++;
for ( i = 0; i < 25 ; i++ ) {
if ( chaine[i] == 'x' ) {
tabDecor[i][l] = 1; ...