常见的编译错误信息3505.pdf





《常见的编译错误信息3505.pdf》由会员分享,可在线阅读,更多相关《常见的编译错误信息3505.pdf(4页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、 1、fatal error C1010:unexpected end of file while looking for precompiled header directive。寻找预编译头文件路径时遇到了不该遇到的文件尾。解决方法:其一,包含正确路径的#include stdafx.h;其二,在*.cpp 文件的 Setting 里面设置,C+选项中的分类 precompiled header,选择不包含头文件即可。2、fatal error C1083:Cannot open include file:R.h:No such file or directory 不能打开包含文件“R.h
2、”:没有这样的文件或目录。3、error C2011:C:class type redefinition 类“C”重定义。4、error C2018:unknown character 0 xa3 不认识的字符0 xa3。(一般是汉字或中文标点符号)5、error C2057:expected constant expression 希望是常量表达式。(一般出现在 switch 语句的 case 分支中)6、error C2065:IDD_MYDIALOG:undeclared identifier “IDD_MYDIALOG”:未声明过的标识符。7、error C2082:redefinit
3、ion of formal parameter bReset 函数参数“bReset”在函数体中重定义。8、error C2143:syntax error:missing:before 句法错误:“”前缺少“;”。9、error C2146:syntax error:missing;before identifier dc 句法错误:在“dc”前丢了“;”。10、error C2196:case value 69 already used 值 69 已经用过。(一般出现在 switch 语句的 case 分支中)11、error C2509:OnTimer:member function n
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 常见 编译 错误信息 3505

限制150内