int main() { string s; cin>>s; //输入: hellow world //string:读取并忽略开头所有的空白字符(空格,换行符,制表符) //读取字符直至再次遇到空白字符,读取终止。 cout<<s<<endl;//输出:hellow system("pause"); }