16,472
社区成员
发帖
与我相关
我的任务
分享
while(getline(cin,tmp))
{
if(0 == tmp.length())
{
break;
}
cout<<tmp<<endl;
}
template<class CharType, class Traits, class Allocator>
basic_istream<CharType, Traits>& getline(
basic_istream<CharType, Traits>& _Istr,
basic_string<CharType, Traits, Allocator>& _Str
);