vs6使用不来
小弟刚学c++,在csdn的好友们介绍使用vc6.0,然后网上下载了一个,安装一些良好,在拿着一本新买的书,照着上面做
新建--〉工程--〉win32 console application-->New file(hello.cpp)
文件如下
#include<iostream>
#include "stdafx.h"
using namespace std;
int main()
{
cout<<"hello worold";
return 0;
}编译错误如下:
E:\Program Files\Microsoft Visual Studio6\MyProjects\trt\hello.cpp(3) : error C2871: 'std' : does not exist or is not a namespace
E:\Program Files\Microsoft Visual Studio6\MyProjects\trt\hello.cpp(6) : error C2065: 'cout' : undeclared identifier
E:\Program Files\Microsoft Visual Studio6\MyProjects\trt\hello.cpp(6) : error C2297: '<<' : illegal, right operand has type 'char [13]'
执行 cl.exe 时出错.
请问一下怎么回事?用vc6开发c++哪里有好的资源?