myFile.WriteString("\n"); // extern booklist *head_book; for(p=head_book;p;p=p->next) {
str.Format("%s,%s,%s,%s,%s.%s,%s",p->bookname,p->cong
shuname,p->writer,p->price,p->dateyear,p->datemonth,p->ISBN); }
BOOL CAddDlg::OnInitDialog() {
CDialog::OnInitDialog();
// TODO: Add extra initialization here m_isbn="978-7-115-"; UpdateData(FALSE);
return TRUE; // return TRUE unless you set the focus to
}
myFile.SeekToEnd(); myFile.WriteString(str); myFile.WriteString("\n");
// DestroyWindow(this); CDialog::OnCancel(); }
//a control
// EXCEPTION: OCX Property Pages should