#include #include #include extern void makeWordList (char*); extern char **getWordList (); extern int getNumWords (); extern void compareFiles (char*, char*); void printWordList (char *fileName) { char **words; int i, numWords; makeWordList (fileName); words = (char**) getWordList (); numWords = getNumWords (); printf ("Words in file %s\n", fileName); for (i=0; i