/* simpcat1.c Jim Plank CS360 September, 1996 */ /* This program copies standard input to standard output one character at a time using getchar()/putchar(). */ #include #include #include main() { char c; c = getchar(); while(c != EOF) { putchar(c); c = getchar(); } }