代码:
void CTrtDlg::OnAbout()
{
CAboutDlg dlg;
dlg.DoModal();
}
运行后有错误:
error C2065: 'CAboutDlg' : undeclared identifier
error C2146: syntax error : missing ';' before identifier 'dlg'
error C2065: 'dlg' : undeclared identifier
error C2228: left of '.DoModal' must have class/struct/union type为什么?
void CTrtDlg::OnAbout()
{
CAboutDlg dlg;
dlg.DoModal();
}
运行后有错误:
error C2065: 'CAboutDlg' : undeclared identifier
error C2146: syntax error : missing ';' before identifier 'dlg'
error C2065: 'dlg' : undeclared identifier
error C2228: left of '.DoModal' must have class/struct/union type为什么?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货