/* hmw10.c -- Outline of solution for homework 10 */ #include #define ARRAYSIZE 2000 #define LINESIZE 65 typedef char linetype[LINESIZE]; int getline(FILE * fd, char buff[], int nmax){ /* It reads a line from fd and stores up to nmax of * its characters to buff. */ char c; int n=0; while ((c=getc(fd))!='\n'){ if(c==EOF)return EOF; if(n