#include #include #include int main (void) { FILE * txtin; txtin = fopen("junk.txt", "a+"); if (txtin != NULL) { fputs("SAGE - set a good example", txtin); char buf[BUFSIZ] = {'\0'}; /* one of your biggest responsibilities is just supplying big * enough storage space */ while (fgets(buf, BUFSIZ, txtin) != NULL) { /* buf now contains a line... ...