Need help comparing letters in two words

view full story

http://www.daniweb.com – I need help to compare letters between two words, the first word letters should be used to compare the letters in the second word... I have an idea that i could use the for loop but im not quite sure how. Please help! (General)