hello i was wondering how would i take what i input on my keyboard into a text docoument here is what i got so far
*EDIT*Code:#include <stdio.h> /* copy input to output; 1st version */ main() { int c; c = getchar (); while (c != EOF) { putchar(c); c = getchar(); } }
i want the putchar(c) to be what inserted into the text doc