Morteza Kashi
A program giving useful information about a dictionary
This program can read a very big file as a dictionary. The file is in C drive in here and is a very big text file. There is a word in each line of this dictionary. This nice program goes trough all of these words and outputs the following interesting results:
1-It specifies how many palindromic words are in the dictionary. The palindromic words are words that are the same if they spell backwards. For example "madam" is a palandromic word.
2-It specifies how many of words in dictionary are Still in dictionary if they are spelled backwards.
3-It is able to specify how many 2-letter,3-letter,4-leter,... and n-letter-word are in that dictionary.
I have taken advantage of strings, stacks and other features of data structure very nicely in this program.
The result of the program is send to a file called "output.txt" on the C drive. Please note that you may put the input file and the output file anywhere in your computer if you give the right path in the specified place in the program.
Please find my C++ code for this nice program by clicking on the following link:
Please contact me by clicking HERE and filling out the coming simple form, should you have any question about this program.