MFC字符串处理:
void CMyCaculatorDlg::OutNum(double num) { CString str; str.Format("%g",num); m_play.SetWindowText(str); UpdateData(true); }
代码格式整理
alt+F8
刚刚一直报错 ,原来只是因为出现了一个未知类型