目前位置: VCer资源中心 >>> VCer论坛 >>> 技术问答

[本帖已阅读1311次 分值2 回复0次] 张贴资源 发回信箱 控制面板

fatal error C1004: unexpected end of file found这个问题怎么解决?

提供者:zhaoxupear 张贴时间:2007-10-19 19:26:59.0 出处:vcer.net 作者:风中王子

fatal error C1004: unexpected end of file found这个问题怎么解决?(2007-10-19 19:26:59.0)


风中王子


        一个性格开朗的家伙,喜欢追逐风,跟它赛跑,永不认输!  
级别: VCer小兵
头衔: VCer会员

经验: 77
作品: 6
分会: 华北分会
注册: 2007-09-15 21:39:08.0
登录: 2007-11-23 18:27:28.0

...我编写的一个程序编译时出现这种错误:

Deleting intermediate files and output files for project ’DAS - Win32 Debug’.

--------------------Configuration: DAS - Win32 Debug--------------------

Compiling resources...

Compiling...

StdAfx.cpp

Compiling...

DAS.cpp

DASDoc.cpp

DASView.cpp

FormsView.cpp

GraphView.cpp

IDD_DIALOG_FORMVIEW.cpp

d:\vc\msdev98\myprojects\das\idd_dialog_formview.h(13) : error C2143: syntax error : missing ’;’ before ’constant’

d:\vc\msdev98\myprojects\das\idd_dialog_formview.h(13) : fatal error C1004: unexpected end of file found

LeftTreeCtrl.cpp

LeftTreeView.cpp

MainFrm.cpp

mscomm.cpp

SpreadSheet.cpp

Generating Code...

Error executing cl.exe.

Creating browse info file...

BSCMAKE: error BK1506 : cannot open file ’.\Debug\IDD_DIALOG_FORMVIEW.sbr’: No such file or directory

Error executing bscmake.exe.

DAS.exe - 3 error(s), 0 warning(s)

出问题的文件如下:

#if !defined(AFX_IDD_DIALOG_FORMVIEW_H__EE217CC3_E679_447D_A544_7F871A3D9F9B__INCLUDED_)

#define AFX_IDD_DIALOG_FORMVIEW_H__EE217CC3_E679_447D_A544_7F871A3D9F9B__INCLUDED_

#if _MSC_VER > 1000

#pragma once

#endif // _MSC_VER > 1000

// IDD_DIALOG_FORMVIEW.h : header file

//

/////////////////////////////////////////////////////////////////////////////

// IDD_DIALOG_FORMVIEW dialog

#include "resource.h"

class IDD_DIALOG_FORMVIEW : public CDialog

{

// Construction

public:

    IDD_DIALOG_FORMVIEW(CWnd* pParent = NULL);  // standard constructor

// Dialog Data

    //{{AFX_DATA(IDD_DIALOG_FORMVIEW)

    enum { IDD = IDD_DIALOG1 };

        // NOTE: the ClassWizard will add data members here

    //}}AFX_DATA

// Overrides

    // ClassWizard generated virtual function overrides

    //{{AFX_VIRTUAL(IDD_DIALOG_FORMVIEW)

    protected:

    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

    //}}AFX_VIRTUAL

// Implementation

protected:

    // Generated message map functions

    //{{AFX_MSG(IDD_DIALOG_FORMVIEW)

        // NOTE: the ClassWizard will add member functions here

    virtual BOOL OnInitDialog();

    //}}AFX_MSG

    DECLARE_MESSAGE_MAP()

};

//{{AFX_INSERT_LOCATION}}

// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_IDD_DIALOG_FORMVIEW_H__EE217CC3_E679_447D_A544_7F871A3D9F9B__INCLUDED_)

请教各位大侠,这种问题怎么处理啊?急!

注:转载文章需注明来源:VCer.net 文章地址:http://vcer.net/1192793219859.html

  如果你觉得VCer.net不错,而且你愿意为VCer.net捐赠一元钱,那么点击后面的捐赠按钮吧:) vcer.net捐赠

赵旭
[回复该贴] [加入个人书签]