j'ai voulu tester mon prog archivé,
c alors que 'line 1111 emulator' est venu me dire bonjour

l'erreur doit etre la dedans ...
// level : niveau choisi
cpt=0 ; // level actuel = 0
while(cpt!=level)
{
// on avance dans le fichier jusq'au niveau voulu
temp = (fic.tab_taille_x_y[cpt][0] * fic.tab_taille_x_y[cpt][1]) ;
fseek (f,temp,SEEK_CUR);
cpt ++ ;
} ;
taille_x = fic.tab_taille_x_y[level][0] ; // taille_x = celle chargée
taille_y = fic.tab_taille_x_y[level][1] ; // taille_y = celle chargée
clrscr() ;
for(cpt=0;cpt<taille_y;cpt++)
{
for(tmp=0;tmp<taille_x;tmp++)
{
unsigned char buf = 0 ;
buf = fgetc(f) ;
if(buf=='1') niv.mat[cpt][tmp].couleur = 1 ;
if(buf=='0') niv.mat[cpt][tmp].couleur = 0 ;
//printf(" %i ",niv.mat[cpt][tmp].couleur) ;
niv.mat[cpt][tmp].etat = 0 ; // non dévoilé
if(niv.mat[cpt][tmp].couleur) nb_case_restantes ++ ;
};
//printf("n") ;
};
free(fic.tab_taille_x_y) ;
fclose(f) ;
GrayOn() ;
while(!PRESS_ESCAPE) ;