- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
fatal error c1010 unexpected end of file解决方案档(致命错误遇到意外的文件结束解决方案档)
fatal error c1010 unexpected end of file解决方案档(致命错误遇到意外的文件结束解决方案档)
Ive also encountered this problem, but it has been solved by me. The solution is as follows:
I have a project as follows:
Source Files
The dllExam1.cpp //TheApp object is in this file
MyComDlg.cpp / / my own function here
StdAfx.cpp / /
Header Files
DllExam1.h //WinApp class header file
MyComDlg.h / / my own function header file
StdAfx.h
There was an error when compiling and the error occurred in MyComDlg.cpp. The prompt is as follows:
Fatal, error, C1010:, unexpected, end, of, file, while,, looking, for, precompiled
Header directive
Refer to the Msdn for the man to the upstairs:
This, error, can, be, caused, by, specifying, an, incorrect, file, as, a, header, file, or
By, specifying, an, include, file, with, the, /Yu (Use, Precompiled, Header) command
Line, option, that, is, not, listed, in, the, source, file,, as, an, include, file.
The result is right. But the man upstairs to the E comprehension mistakes. Not in the Project-Setting Compile.
The /Yu stdafx.h but, you want to be in your (own) file contains the (requested precompiled header files, not only in the above) in engineering file MyComDlg.cpp contains stdafx.h. To solve this problem. Then the compiler why stdafx.h to include
In your file? Because, in Project-Setting-Compile, stdafx.h is set to /Yu stdafx.h
That is to say stdafx.h this file should be pre compiled. So the sxbyl man answer is right but not detailed.
[essay] fatal, error, C1010:, unexpected, end, of, file solutions
In compiling VC++6.0, yes, appear
Fatal, error, C1010:, unexpected, end, of, file, while, looking, for,, precompiled, header, directive
The problem is explained in detail:
Fatal error C1010, when looking for precompiled header files, the file is not expected to end. Is the header file that does not find precompiled directives.
The problem usually happens:
By adding the file, add some CPP files to a MFC program, but the cpp file is not MFC, is the standard C + +.
Solut
您可能关注的文档
- 2011西方经济学复习题(2011 review questions of Western Economics).doc
- 2012movie(2012movie).doc
- 2012中国十大快递排行榜(2012 China top ten express list).doc
- 2012.6.22资产评估 单选题(2012.6.22 asset evaluation sheet selection).doc
- 2012中石油网教保险学第二次作业(2012, petroleum network teaching insurance second operations).doc
- 2012中石油网教企业战略管理学第二次作业(2012, CNPC taught enterprise strategy management second operations).doc
- 2012伦敦奥运会赛程时间表(2012 London Olympic schedule).doc
- 2012包头英语试题(2012 Baotou English test).doc
- 2012元宵节祝福语短信大全(2012 Lantern Festival Blessing SMS).doc
- 2012实训平台管理基础形成性考核答案(2012, training platform management foundation, formative assessment answer).doc
- fbi阅人术(行为心理学) 用最短的时间了解一个人(FBI read human behavior (Behavioral Psychology) with the shortest amount of time to understand a person).doc
- fbi阅人术及测试(FBI reading and testing).doc
- fbi阅人术用最短的时间了解一个人(FBI read people and know a person in the shortest amount of time).doc
- fedora 10 上成功编译并安装mplayer步骤(Fedora 10 successfully compiles and installs the Mplayer steps).doc
- fiata(菲亚塔).doc
- fight_systerm(fight_systerm).doc
- fish技术(鱼技术).doc
- fluent 计算错误汇总(fluent 计算错误汇总).doc
- fm2014全位置角色(Fm2014 all position role).doc
- food expressions part 3(食品的表达式的一部分 3).doc
文档评论(0)