您的位置:首页 > 运维架构

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)


转载▼

标签:


error


eof


stderr


putc


stdio


was


not


declared


in


this


scope


it

分类: C++
将COOOL优化库升级到MinGW 4.4.0编译,结果报错:

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等都是在这个文件中定义的。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: