|
#include <iostream>
#include <string>
using namespace std;
int main()
{
string word;
while ( cin >> word )
cout << "word read is: " << word << '\n';
cout << "ok: no more words to read: bye!\n";
return 0;
}
运行这个程序什么时候可以输出 ok: no more words to read: bye!
????这个问题好象有点变态, 呵呵 帮忙回一下吧
|
|