//将输入复制到输出
# 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); }
//将输入复制到输出
# 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); }
转载于:https://www.cnblogs.com/220l/p/4106313.html