#include unsigned count = 1000; int fnumber; char fname[100]; char *ifil; char *ofil; FILE *is; FILE *os; main(argc, argv) char *argv[]; { register i, c, f; int iflg = 0; for(i=1; i= 26 * 26) { fprintf(stderr, "Too many files\n"); exit(1); } if((os=fopen(fname,"w")) == NULL) { perror ("write"); exit(1); } f = 0; } if ((putc(c, os) == EOF) && ferror(os)) { perror("write"); exit(1); } } while(c != '\n'); fclose(os); goto loop; }