VC6.0: fatal error C1010: unexpected end of file while looking for precompiled head
致命错误C1010:在寻找预编译指示头文件时,文件未预期结束。
就是没有找到预编译指示信息的头文件。
问题一般发生在:通过添加文件的方式,添加了一些cpp文件到一个MFC的程序,但该cpp文件并不是MFC,而是标准的C++。
解决方案1: 右键单击项目工程中的cpp文件,在菜单Project->Settings->C/C++->Precompile Header,设置为第一项:Not using precompile headers。
解决方案2:在.cpp文件开头添加包含文件stdafx.h。 #include"stdafx.h"
转载于:https://www.cnblogs.com/blueswitkey/archive/2013/03/11/2953717.html
VC6.0: fatal error C1010: unexpected end of file while looking for precompiled head相关推荐
- 编译错误 fatal error C1010: unexpected end of file while looking for precompiled header directive
VC6.0在编译的时候出现这种错误 fatal error C1010: unexpected end of file while looking for precompiled header dir ...
- fatal error C1010: unexpected end of file while looking for precompiled header directive
在编译VC++6.0是,出现fatal error C1010: unexpected end of file while looking for precompiled header directi ...
- 解决错误 fatal error C1010: unexpected end of file while looking for precompiled head
在编译VS时候,出现fatal error C1010: unexpected end of file while looking for precompiled head. 问题详细解释:致命错误C ...
- Error:fatal error C1010: unexpected end of file while looking for precompiled head
场景: 在VC6.0进行编写C++代码时,创建了一个**简单的程序[s]**然后编译就爆出这个错误 场景复现(创建流程) 点击左上角的[文件]->然后点击[新建]. 在左上方选择工程,然后下方选 ...
- fatal error C1010: unexpected end of file while looking for precompiled head
致命错误C1010:在寻找预编译指示头文件时,文件未预期结束. 就是没有找到预编译指示信息的头文件. 问题一般发生在:通过添加文件的方式,添加了一些cpp文件到一个MFC的程序,但该cpp文件并不是M ...
- fatal error C1010: unexpected end of file while...
为什么80%的码农都做不了架构师?>>> 在编译VC++6.0是,出现fatal error C1010: unexpected end of file while looki ...
- fatal error C1010: unexpected end of file while looking for precompile
在编译VC++6.0是,出现fatal error C1010: unexpected end of file while looking for precompiled header directi ...
- fatal error RC1004: unexpected end of file found处理方法
资源编译器错误 RC1004 错误消息 遇到意外的文件结束 此错误是由于文本文件的最后一行中缺少换行符和回车符而造成的. 转载于:https://www.cnblogs.com/mforestlaw/ ...
- fatal error C1071: unexpected end of file found in comment
记得注释里有中文等字符的时候, 记得在单行注释最后加个空格, 多行注释 */ 前加一个空格 ... 当然最好的是注释都用英文 , over ... 因为某些特殊中文字符 ...
最新文章
- 2018年智能音箱对比
- solaris php,在Solaris 10 64位上配置PHP
- Merkle Patricia Tree 详解
- 返回目录中所有JPG图像的文件名列表
- 【macOS】Desktop桌面文件突然消失不见解决办法
- outlook2019配置QQ邮箱
- cad安装日志文件发生错误_cad安装出现错误 - 卡饭网
- SpringMVC工作原理及其流程
- SpringBoot 中使用 网易邮箱 或 qq邮箱 发送信息
- 华科_图形学笔记_07_投影变换
- OSPF在NBMA网络中的五种模式
- WEB安全全基础漏洞学习
- 学习笔记7--车辆控制平台
- 微信小程序swiper上下滑动卡顿
- scanf和cin的返回值问题
- 华硕M5A78L-MLX3PLUS羿龙IIX4(3424元)家用学习型装机配置
- 阿克曼小车urdf模型搭建与gazebo仿真
- Android解析xml的方法,Android中解析XML格式数据的方法
- 外键SQL语句的编写及实例
- matlab 空域滤波,MATLAB--空域滤波学习笔记