+ 1

how to use “fread”to deal with the matter of struct

eg:fread(&struct1,sizeof(struct2),1,file),then will one member of struct1 be the first line of file?and how can I decide the size of one member?please give more advice on the function of "fread" in reading and getting message from a file,thx

19th Sep 2017, 1:00 PM
Jean
0 Answers