NEED HELP WITH ANOGRAM


Write a program to solve word anagrams. Your program should

1) read in the file words.txt,

2) allow the user to enter a word or a string of letters (not necessarily a valid English word).

3) output all the English words that have exactly the same letters as the user's word (possibly in a different order).

4) Repeat steps 2 and 3 until the user wants to quit.

And cant use any function libraries other than <string>, <fstream>, <cctype> and <iostream>.
Topic archived. No new replies allowed.