MFC字符串处理:
void CMyCaculatorDlg::OutNum(double num) { CString str; str.Format("%g",num); m_play.SetWindowText(str); UpdateData(true); }
代码格式整理
alt+F8
刚刚一直报错 ,原来只是因为出现了一个未知类型
posted on 2011-06-05 20:02 laizhd 阅读(117) 评论(0) 编辑 收藏 举报