//将输入复制到输出# include <stdio.h> main () { int c; c=getchar(); while (c!=EOF) { putchar(c); c=getchar(); } }
将输入复制到输出版本二
# include <stdio.h> main () { int c; while ((c=getchar())!=EOF) putchar(c); }