// 输入
int ch;
ch = getchar();
while(ch != EOF) {
putchar(ch);
ch = getchar();
}
// 输出
int ch;
while((ch = getchar()) != EOF)
putchar(ch);
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266632.html
// 输入
int ch;
ch = getchar();
while(ch != EOF) {
putchar(ch);
ch = getchar();
}
// 输出
int ch;
while((ch = getchar()) != EOF)
putchar(ch);
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266632.html