首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

很菜的有关问题,streambuf.h和stream.h

2012-04-21 
很菜的问题,streambuf.h和stream.h搜索过了,没有找到适合我的答案,只好厚着脸皮提问了某古老的源文件的头

很菜的问题,streambuf.h和stream.h
搜索过了,没有找到适合我的答案,只好厚着脸皮提问了

某古老的源文件的头文件包含了

C/C++ code
#include<streambuf.h>#include<stream.h>


编译报错 fatal error C1083: Cannot open include file: 'streambuf.h': No such file or directory

去掉#include<streambuf.h>,报错就是找不到'stream.h'了


请问要怎么样才能编译成功呢?


我用的是英文版的VS 2008

谢谢啦

[解决办法]
Vc9已经不包含这些古老的头文件了,你可以尝试用vc6编译
[解决办法]
#include<streambuf>
#include<stream>
[解决办法]
探讨
#include <streambuf>
#include <stream>

[解决办法]
新标准头文件,都不带.h

热点排行