为什么是error C2065: 'string' : undeclared identifier
C++ PRIMER电子版上的源代码
在win2000+vc 6(英文班)下的编译错误,请教是什么原因?
#include <iostream.h>
#include <string.h>
int main()
{
string* word;
while ( cin>>word )
cout<<"word read is: "<<word;
cout<<"ok: no more words to read: bye!\n";
return 0;
}