文件读取出错
#define Formatprintf "%10s,%10s,%10s,%6s,%20s,%20s,%20s"
#define Formatscanf "%10s,%10s,%10s,%6s,%20s,%20s,%20s\n"
#define Data q->AccountNum,q->PassWord,q->Name,q->Sex,q->Balance,q->ID,q->Address
if(fprintf(fp,Formatscanf,Data)!=EOF) //写入1个到文件中,用记事本打开文件,格式正确了
if(fscanf(fp,Formatprintf,Data)!=EOF) //然后读取的时候,正常来说应该只读取一次就读完了,然后该代码运行了8次...而且读取不了信息