C语言文件操作问题,怎样替换文件中一行数据答:。。。/*完成对info结构体的赋值*/ fprintf(fp,"%10s %10s %10d %10s %10s %10s %10d %10d",info.id,info.nickname,\ info.online,info.pwd,info.encryp,info.ip,info.port,info.fd); fprintf(fp,"\n"); fclose(fp); 修改处的代码如下所示,整个代码是在MFC中实现的: FILE *fp=fopen("client...