Google uses "word count" as a preprocessing for its search engine. The program reads an article which has many words, and outputs the counts of each distinguished words. The output words are sorted in the dictionary order. A "word" is defined as a consecutive sequence of English letters (upper and/or lower case).
A class WordCount has been defined as follows:
function.h
main.cpp
Your job is to implement each member function of the class.
An article and end with EOF
Print the counts of each distinguished words