我是VC初学者,有这样一个问题
oken2 2009-05-08 11:29:25 //Hello world example
#include <iostream>
using namespace std;
int main()
{
count<<"Hello world"<<endl;
return 0;
}
应该,没问题呀,但是编译时就出现这个了。
--------------------Configuration: First_Test - Win32 Debug--------------------
Compiling...
hello.cpp
D:\人在机床\c\First_Test\hello.cpp(7) : error C2065: 'count' : undeclared identifier
D:\人在机床\c\First_Test\hello.cpp(7) : error C2297: '<<' : illegal, right operand has type 'char [12]'
执行 cl.exe 时出错.
First_Test.exe - 1 error(s), 0 warning(s)
这个是最简单的程序了,为什么呢?