mfc界面的图书管理系统(7)
时间:2025-02-22
时间:2025-02-22
class booklist { public: };
CString bookname;//书名 CString congshuname;//丛书种类 CString writer;//作者 CString price;//价格 CString dateyear;//出版年份 CString datemonth;//出版月份 CString ISBN; booklist *next;
5.2 系统函数详细介绍
增加书籍:
void CAddDlg::OnButtonAdd() {
// TODO: Add your control notification handler code here UpdateData();
extern booklist *head_book;
if(m_bookname==""||m_congshuname==""||m_isbn==""||m_m
onth==""||m_price==""||m_writer==""||m_year=="")
MessageBox("请填写完整图书信息");
else {
booklist *p=head_book;