http://blog.sina.com.cn/s/blog_4f183d9601015zmy.html
error: 'EOF' was not declared in this scope的解决办法
(2012-06-04 13:35:45) 标签: erroreofstderrputcstdiowasnotdeclaredinthisscopeit | 分类: 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等都是在这个文件中定义的。
最后
以上就是甜甜裙子最近收集整理的关于error: 'EOF' was not declared in this scope的解决办法的全部内容,更多相关error:内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复