unexpected end of file found in comment 是什么问题啊
来源:百度知道 编辑:UC知道 时间:2024/09/23 23:26:20
//*************************************
//MyApp.h
//
class CMyApp:public CWinApp
{
public:
virtual BOOL InitInstance();
};
class CMyApp:public CFrameWnd
{
public:
CMyFrame();
protected:
afx_msg void OnLButtonDown(UNIT nFlags,CPoint point);
afx_msg void Onpaint();
DECLARE_MESSAGE_MAP()
};
/**********************************
//MyApp.cpp
//
#include "stdafx.h"
#include "afxwin.h"
#include "MyApp.h"
CMyApp theApp;//建立CMyApp 对象
BOOL CMyApp::InitInstance()
{
m_pMainWnd=new CMyFrame();
m_pMainWnd->ShowWindow (m_nCmdShow);
m_pMainWnd->UpDateWindow();
return TRUE;
}
BEGIN_MESSAGE_MAP(CMyFrame,CFrameWnd)
ON_WM_LBUTTONDOWN()
ON_WM_PAINT()
END_MESSAGE_MAP()
CMyFrame::CMyFrame()
{
Create(NULL,"MYAPP Application&qu
//MyApp.h
//
class CMyApp:public CWinApp
{
public:
virtual BOOL InitInstance();
};
class CMyApp:public CFrameWnd
{
public:
CMyFrame();
protected:
afx_msg void OnLButtonDown(UNIT nFlags,CPoint point);
afx_msg void Onpaint();
DECLARE_MESSAGE_MAP()
};
/**********************************
//MyApp.cpp
//
#include "stdafx.h"
#include "afxwin.h"
#include "MyApp.h"
CMyApp theApp;//建立CMyApp 对象
BOOL CMyApp::InitInstance()
{
m_pMainWnd=new CMyFrame();
m_pMainWnd->ShowWindow (m_nCmdShow);
m_pMainWnd->UpDateWindow();
return TRUE;
}
BEGIN_MESSAGE_MAP(CMyFrame,CFrameWnd)
ON_WM_LBUTTONDOWN()
ON_WM_PAINT()
END_MESSAGE_MAP()
CMyFrame::CMyFrame()
{
Create(NULL,"MYAPP Application&qu
/**********************************
//MyApp.cpp
//
上面这段注释的第一行,都没有结束 */ 那编译器当然认为你下面的都是注释咯,而在注释中你的文件到末尾了,所以是错
意思是“在注释里发现了异常的文件结尾”。
错误信息说明:源代码的文件末尾存在异常情况。可能有中文字符或者全角字符等非正常字符。重点检查注释符号是否被正确运用。
FPC unexpected end of file怎么解决?
C++编译错误 unexpected end of file found
unexpected $end 在php中什么意思啊?
unexpected end of file while looking for precompiled header directive
cpp(203) : fatal error C1004: unexpected end of file found
同一个程序tp没事/fp unexpected end?
ABORT: 10008 ,unexpected end of file怎么处理??
在c++中,编译时出现fatal error C1004: unexpected end of file found是什么意思?
fatal error C1010: unexpected end of file while looking for precompiled header directive
fatal error C1071: unexpected end of file found in comment这个是什么意思啊?