刚学习mfc,不知道怎么回事。我的程序调试通过不了
#include<afxwin.h>class COurApp: public CWinApp
{
public :
virtual BOOL InitInstance();
};
class COurWnd:public CFrameWnd
{
public:
COurWnd()
{
Create(0,L"our MFC");
}
};
/*class COurApp: public CWinApp
{
public :
COurwnd()
{
Create(0,""our MFC");
}
};*/
BOOL COurApp::InitInstance(void)
{
m_pMainWnd = new COurWnd;
m_pMainWnd->ShowWindow(m_nCmdShow);
return TRUE;
}
COurApp AnApplication;
调试的时候出现:1>F:\c++\7322\Debug\7322.exe : fatal error LNK1120: 1 个无法解析的外部命令