error: 'EOF' was not declared in this scope的解决办法
2014-01-12 22:03
2071 查看
http://blog.sina.com.cn/s/blog_4f183d9601015zmy.html
error: 'EOF' was not declared in this scope的解决办法
(2012-06-04 13:35:45)转载▼
标签:
| 分类: C++ |
error: 'EOF' was not declared in this scope
error: 'stderr' was not declared in this scope
error: 'putc' was not declared in this scope
解决方法是在报错文件的最开始加上#include <stdio.h>,因为EOF、stderr等都是在这个文件中定义的。
相关文章推荐
- error: 'EOF' was not declared in this scope的解决办法
- error: 'memcpy' was not declared in this scope的解决
- error: ‘_swprintf’ was not declared in this scope 解决办法
- error: `cout' was not declared in this scope
- linux 编译ffmpeg 出错:error: 'UINT64_C' was not declared in this scope
- 解决Cygwin编译cocos2dx 遇到的 error: 'UINT64_C' was not declared in this scope 问题
- v4l2驱动摄像头 出现错误UINT64_C' was not declared in this scope 解决
- error: 'ff_get_buffer' was not declared in this scope
- c++ error: 'malloc' was not declared in this scope
- [Error] 'atoi' was not declared in this scope
- common.h:178:47: error: 'UINT64_C' was not declared in this scope
- error: 'glGenFramebuffersOES' was not declared in this scope
- error: 'memcpy' was not declared in this scope
- 昨天的错误修改后,make出现error: 'UINT64_C' was not declared in this scope
- 【error: '_1' was not declared in this scope】
- 'htons' was not declared in this scope 解决
- 安装fcgi时出现:error: ‘EOF’ was not declared in this scope解决方法
- ndk编译错误:error: 'nullptr' was not declared in this scope
- error: '_localtime_not_threadsafe_' was not declared in this scope
- error: 'UINT64_C' was not declared in this scope