铁通省公司:VC-- error C1010
来源:百度文库 编辑:九乡新闻网 时间:2024/07/14 04:16:20
在编译VC++6.0是,出现
fatal error C1010: unexpected end of file while looking for precompiled header directive问题详细解释:
致命错误C1010,在寻找预编译指示头文件时,文件未预期结束。就是没有找到预编译指示信息的头文件。问题一般发生在:
通过添加文件的方式,添加了一些cpp文件到一个MFC的程序,但该cpp文件并不是MFC,是标准C++的。解决方案1:
右键点击项目工程中的该cpp文件,在菜单Project 》Settings里C++页面的Precomplie Header,设置为第一项:Not using precompiled headers。解决方案2:
在.cpp文件开头添加包含文件stdafx.h。#include "stdafx.h" 总之,就是确保 "stdafx.h" 是你的每个实现文件中包含的第一个头文件。
fatal error C1010: unexpected end of file while looking for precompiled header directive问题详细解释:
致命错误C1010,在寻找预编译指示头文件时,文件未预期结束。就是没有找到预编译指示信息的头文件。问题一般发生在:
通过添加文件的方式,添加了一些cpp文件到一个MFC的程序,但该cpp文件并不是MFC,是标准C++的。解决方案1:
右键点击项目工程中的该cpp文件,在菜单Project 》Settings里C++页面的Precomplie Header,设置为第一项:Not using precompiled headers。解决方案2:
在.cpp文件开头添加包含文件stdafx.h。#include "stdafx.h" 总之,就是确保 "stdafx.h" 是你的每个实现文件中包含的第一个头文件。
VC-- error C1010
【转载】fatal error C1010: unexpected end of file...
VC error C3872: '0x3000'
vc中error LNK2001:unresolved external symbol
vc++中error LNK2001的解决方法
vc++6.0中Error spawning cl.exe错误的解决方法
vc++深入详解中error c2440的解决方案 - Phoenix'K - 博客园
[Fatal Error] Internal error: URW3959 的解决办法
Windows XP error: svchost.exe - Application Error
run ./configure error collection
Error spawning cl.exe
unknow hard error
Error loading Operation system
snmp error code
Error Preparing Installer message
on error resume next
Delete error request Program
VC+++用法汇总,VC技术文章,VC
高清无码美图vc
风投VC
什么是vc
event id 29 W32Time error
IAR for 430 error总结
Leaders of the error management