}
}
}
p->next=Book; break;
p=p->next;
if(p->next==NULL) }
MessageBox("添加成功");
char* pszFileName = ".\\data.txt"; CStdioFile myFile;
CFileException fileException; CString str;
p->next=Book;
if(!myFile.Open(pszFileName,CFile::modeCreate|CFile::
modeReadWrite,&fileException))
{
MessageBox("打开失败");
TRACE("Cannotopenfile%s,error=%u\n",pszFileName,fileE
xception.m_cause);
}
myFile.SeekToEnd();
myFile.WriteString("书名,丛书名,作者,定价(元),出
版年月, ISBN ");