////////////////////////////////////////////////////////////////////// // // spellinglist.h // // Jeff Ondich 6/25/96 // Last modified 11/1/00 // // Interface for a simple spellinglist class. // ////////////////////////////////////////////////////////////////////// #include const int kMaxWords = 10000; class SpellingList { private: string mWords[ kMaxWords ]; int mNWords; public: SpellingList( const string& fileName ); void AddWord( const string& theWord ); bool IsIn( const string& theWord ) const; bool IsFull() const; void Print() const; };