List words not contained within my array?

  • Thread starter Thread starter StudiousStudent
  • Start date Start date
S

StudiousStudent

Guest
I have an array with three 3~letter words : mat, far, let;

A second array with a line of text asdmatredtletyxzc

I've written code that compares the two array for similar characters and outputs their index in the line of text.

I would like to know how I could notify myself if a word that is in my word bank is not in my line of text. I'd like to display it in the screen in this case. Far is not in the array. A simple solution that doesn't require and c++ libraries would be ideal. I thank you wholeheartedly for the help.


StudiousStudent

Continue reading...
 
Back
Top