diff options
Diffstat (limited to 'c,cc/in_out.c')
-rw-r--r-- | c,cc/in_out.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/c,cc/in_out.c b/c,cc/in_out.c new file mode 100644 index 0000000..448eaa5 --- /dev/null +++ b/c,cc/in_out.c @@ -0,0 +1,14 @@ +#include <stdio.h> + + +int main(void) +{ + int ch; + + while ((ch=fgetc(stdin))!=EOF) { + fputc(ch, stdout); + } + printf("\n"); + return 0; +} + |