📄 io20_2_1.03.c
字号:
// #include <iostream>
// #include <iomanip>
#include <iostream.h>
#include <iomanip.h>
/*
* $ a.out
* The winter of our discontent
*
* The
* winter
* of
* our
* discontent
*
*/
int main()
{
const int bufSize = 24;
char buf[ bufSize ];
char *pbuf = buf;
// each string greater than sizeof(bufsize)
// is broken into two or more strings
while ( cin >> setw( bufSize ) >> pbuf )
cout << pbuf << endl;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -