#include #include #include "DictionaryEntryT.h" using namespace std; void PrintEntry(const DictionaryEntryT & entry); int main() { DictionaryEntryT a("word"); DictionaryEntryT b; DictionaryEntryT c{"aDifferentWord"}; cout << "The word" << endl; PrintEntry(a); cout << endl << endl; cout << "The word after increment" << endl; a.IncrementCount(); PrintEntry(a); return 0; } void PrintEntry(const DictionaryEntryT & entry){ cout << "\tThe word is " << entry.GetWord() << endl; cout << "\tThe count is " << entry.GetCount() << endl; }