I need to make a program where a user enters a word and it lists every combination of that word in alphabetical order. The words that it lists don't have to be real. Can anyone help me out with this?
Open the file and read the list of words into a vector or something. Instead of displaying the word inside the loop, first check the word against the dictionary listing.