There's a function called strstr() in <cstring> that searches for a word in a string and gives a pointer to the first occurrance....

Therefore if you wanted to test for the word "dinner"

Code:
char mystring[] = "It's dinner time";
if(strstr(mystring,"dinner")!=NULL)
   cout << "dinner was present";
Does that help?