实例7-1.c
来自「linuxc编程书里的每章节课后全部的源代码 需要的人下载」· C语言 代码 · 共 13 行
C
13 行
#include <unistd.h>
#include <stdio.h>
int main()
{
int c;
while ((c = getc(stdin))!=EOF)
if (putc(c,stdout)==EOF)
printf("output error");
if(ferror(stdin))
printf("input error");
exit(0);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?