problem, word program

i need to make a program which reads from a file which has a word list. i then need to input more than 3 letters, and less than 8, and then see how many words which are present in the wordlist can be made from those particular letters and then output those words.
any help will be apppreciated
thanks a lot
tyler
This is in the wrong board and it at least sounds like a request.
i posted here because i thought using bash would be easier to compare stuff.
thanks anyways
I did something similar a few days ago.

I read the words into a map of type <string, string>. Then using nested for-loops I found all the combinations that the letters can make and using the map I checked if they exist in there.

Hope this helps.
Last edited on
Topic archived. No new replies allowed.