关于string问题
#include <iostream.h>#include <string>
int main()
{
string line;
while (getline(cin,line))
{
cout<<line;
}
return 0;
}
为什么报错说没有声名 是我编译器的问题吗?
2010-08-03 22:07
2010-08-03 22:30
2010-08-03 22:47
2010-08-04 09:30
2010-08-04 10:18
2010-08-04 10:45
2010-08-24 23:04