Can someone tell my why won\'t this function work? I just can\'t get it...
void writeRegister(FILE *arq, Book *L){ //writes in actual file position char
You must pass the address of L->YEAR to fwrite
L->YEAR
fwrite
fwrite(L->YEAR, sizeof(int), 1, arq); fwrite(&(L->YEAR), sizeof(int), 1, arq);