n.往文件中写
fread,fwrite,fseek vs createfile,&n... 函数的重载叫编译时的多态性对不?
fwrite(&book[i],sizeof(struct book),1,fp); "请你设定书的状态");
-himself wrote an IO of the simulated what fopen, fread and fwrite. 详细说明: 自己写的一个IO库,模拟了一下fopen
int fwrite (void *ptr, int size,int nitems,FILE *stream); 文件承受机读写函数:int fread(void *ptr,int size,int nitems,FILE *stream);