$>cc -o hello hello.cpp
hello.cpp: In function `int main()':
hello.cpp:5: `cout' undeclared (first use this function)
hello.cpp:5: (Each undeclared identifier is reported only once for each
function it appears in.)
hello.cpp:5: `endl' undeclared (first use this function)
源程序:
#include<iostream>
int main()
{
cout<<"helloo"<<endl;
return 0;
}
为什么呢?谢谢大家.