void affiche_fichiers(char lecteur)
{
 struct ffblk fblock;
 char chemin[6] = "C:\\*.*";
 chemin[0] = lecteur;
 
 if(findfirst(chemin,&fblock,NORMAL) != 0 )
 {
 	puts("Erreur de lecteur !" );
 }
 printf("%s\t%d\n",fblock.ff_name,fblock.ff_fsize);
 
 moule = malloc(sizeof(struct lafile));
 debut = moule;
 courant = moule;
 moule -> nom_fichier = fblock.ff_name;
 moule -> size_fichier = fblock.ff_fsize;
 moule -> suivant = NULL;
 
 while( findnext(&fblock) == 0)
 	printf("%s\t%d\n",fblock.ff_name,fblock.ff_fsize);
 	moule = malloc(sizeof(struct lafile));
 	courant -> suivant = moule;
 	courant = moule;
 	courant -> suivant = NULL;
 	moule -> nom_fichier = fblock.ff_name;
 	moule -> size_fichier = fblock.ff_fsize;
 
}
 
Le problème : cette ligne là marche : printf("%s\t%d\n",fblock.ff_name,fblock.ff_fsize);
 
Celle-ci, qui pourtant a les même noms que lautre, ne marche pas : moule -> nom_fichier = fblock.ff_name; <-- Msg d'erreur : LValue Required.   Ma structure est correcte en passant.