首页上一页 1 下一页尾页 1 条记录 1/1页
visual c++ 项目开发全程实录第十章案例主窗口错误求解~~
发表在C语言图书答疑
2011-05-10
是否精华
是
否
版块置顶:
是
否
这是在主界面编译时的错误~求高手指教
error C2146: syntax error : missing ';' before identifier 'm_menu'
error C2501: 'CMENU' : missing storage-class or type specifiers
error C2501: 'm_menu' : missing storage-class or type specifiers
相关代码:
public:
CMENU m_menu;
CStoresSystemDlg(CWnd* pParent = NULL); // standard constructor
error C2065: 'm_menu' : undeclared identifier
error C2228: left of '.LoadMenuA' must have class/struct/union type
相关代码:
m_menu.LoadMenu(IDR_MAINSS_MENU);
SetMenu(&m_menu);
return TRUE;
error C2146: syntax error : missing ';' before identifier 'm_menu'
error C2501: 'CMENU' : missing storage-class or type specifiers
error C2501: 'm_menu' : missing storage-class or type specifiers
相关代码:
public:
CMENU m_menu;
CStoresSystemDlg(CWnd* pParent = NULL); // standard constructor
error C2065: 'm_menu' : undeclared identifier
error C2228: left of '.LoadMenuA' must have class/struct/union type
相关代码:
m_menu.LoadMenu(IDR_MAINSS_MENU);
SetMenu(&m_menu);
return TRUE;