学到了知识,呵呵
为什么我拷下来会有这么个错误啊?
请高手指点一下,谢谢!
--------------------Configuration: guaiquti - Win32 Debug--------------------
Compiling...
guaiquti.cpp
d:\program files\microsoft visual c++ 6.0\vc6cn\vc98\include\ios(9) : fatal error C1083: Cannot open include file: 'streambuf': No such file or directory
执行 cl.exe 时出错.
guaiquti.obj - 1 error(s), 0 warning(s)
19楼的兄弟,在什么也没有程序的情况下编译得:
--------------------Configuration: 2_2 - Win32 Debug--------------------
Compiling...
2_2.cpp
2_2.obj - 0 error(s), 0 warning(s)
而工具->选择下的路径四个项目都改成对应的文件夹目录了;
我编写如下一段简单的程序:
#include<iostream>
using namespace std;
void main(void)
{
cout<<"hello!\n";
cout<<"Welcome to c++!\n";
}
编译后就会有如下的错误:
--------------------Configuration: 2_2 - Win32 Debug--------------------
Compiling...
2_2.cpp
d:\program files\microsoft visual c++ 6.0\vc6cn\vc98\include\ios(9) : fatal error C1083: Cannot open include file: 'streambuf': No such file or directory
Error executing cl.exe.
编译器我已经用不同的原始文件装过三次了,问题依旧啊。
请各位帮帮忙,先说声谢谢了
2_2.obj - 1 error(s), 0 warning(s)