C++ 输入一行字符,将其按单词输出,每个单词占一行 日期:2014-05-01 13:53:25 人气:1 C++ 输入一行字符,将其按单词输出,每个单词占一行 循环读取循环换行输出 string line; while (cin >> line) cout << line << endl;