fscanf expects the address of the varibles to read.Code:fscanf(f,"%c",fitxer[i].cTipus); fscanf(f,"%d", fitxer[i].nCasella);
Kurt
fscanf expects the address of the varibles to read.Code:fscanf(f,"%c",fitxer[i].cTipus); fscanf(f,"%d", fitxer[i].nCasella);
Kurt