// WordList.h
// (c) 1996 Burt Rosenberg
// Sample C++ program using Linked Lists.
// Implementation of methods is found in WordList.C

class Node {
public:
   const int size = 50 ;
   char item[size] ;
   int count ;
   Node * next ;
   Node( char s[], int i ) ;
} ;

class WordList {
private:
   Node * head ;
   Node * tail ;
   Node * found ;
public:
   WordList(void) ;
   void print(void) ;
   void addWord( char word[] ) ;
   int findWord( char word[] ) ;
   int incrCount( void ) ;
} ;

