mfc界面的图书管理系统(16)
发布时间:2021-06-05
发布时间:2021-06-05
名: %s\nISBN: %s\n",p->next->bookname,p->next->ISBN);
if(!myFile.Open(pszFileName,CFile::modeCreate|CFile:: }
if(delbooknum==0)
MessageBox("无此书","警告"); }
}
p->next=p->next->next; delbooknum++;
else {
str.Format("%s %d %s","已删除",delbooknum,"本"); MessageBox(str1+str);
char* pszFileName = ".\\data.txt"; CStdioFile myFile;
CFileException fileException;
modeReadWrite,&fileException))
{
MessageBox("打开失败"); TRACE("Can
not
open
file %s,error=%u\n",pszFileName,fileException.m_cause);
}
myFile.SeekToEnd();
myFile.WriteString("书名,丛书名,作者,定价(元),出