使用VC7.1不能编译如下在VC6中通过的简单代码,请指教!
格兰特杨 2004-01-15 09:42:02 #include "stdafx.h"
#include "iostream"
int _tmain(int argc, _TCHAR* argv[])
{
cout << "Hello, world!" << endl;
return 0;
}
l:\VC7Test01\VC7Test01.cpp(9): error C2065: 'cout' : undeclared identifier
l:\VC7Test01\VC7Test01.cpp(9): error C2065: 'endl' : undeclared identifier
我吐血...