我这样往文件里写内容,难道不对吗?
FILE *fpSource,*fpResult;//The file pointer of read and write    
if((fpResult=fopen(sResultFile,"wt"))==NULL) 
return false;//Cannot open the result  file to write    
fprintf(fpResult,"%s",sFileFlag);
OneParagraphTrace=OneParagraphHead;
fpResult=fpResult+sizeof(sFileFlag);
while(OneParagraphTrace->next!=NULL)
{
OneParagraphTrace=OneParagraphTrace->next;
    fprintf(fpResult,"%s",OneParagraphTrace->Paragraph);
fpResult+=sizeof(OneParagraphTrace->Paragraph);
}
谢谢!