This project seeks to read a text file and output the frequency of the words on the file. The output is first sent to a backup file which cotains the words and their count. After creating the file a menu allows users to search for a word, print the list of words and their count, or print a histogram.
The code uses the map function to efficiently produce the word list and counts, and is overall structured with a small efficient main function.
The code could use enchancements to it's case sensetivity when searching for words, and althought more challenging it would be ideal to allow use of plural or singular words.
The map function was new to me and posed the most challenge, but stack overflow and the school textbook helped me get the function working. The code also took some refactoring as I evaluated how to split up my classes and I broke several things in getting my menu class created.
Overall thinking about how to structure the code was most beneficial, splitting up functions and determining how they should work together as well as what parameters they should take in was helpful and aplicable to future applications.
This program is broken into functions which I think should be easy to follow and have appropriate naming conventions. This in combination with comments should make the code easy to understand and maintain.