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