?? ch01.1.5.c
字號:
// #include <iostream>
#include <iostream.h>
#include <string>
/**
**
a.out < input_file
word read is: Shyly,
word read is: she
word read is: asks,
word read is: "I
word read is: mean,
word read is: Daddy,
word read is: is
word read is: there?"
ok: no more words to read: bye!
**
**/
int main()
{
string word;
while ( cin >> word )
cout << "word read is: " << word << '\n';
cout << "ok: no more words to read: bye!\n";
return 0;
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -