I'm trying to think of a way to compare a string of multiple words and take each individual word to a dictionary. I have a binary search already coded but it's just breaking the string apart I'm having trouble with.
I have to use C-Style Strings (character arrays).
For instance (pseudocode):
cin >> awesomeString; user inputs ---> How would I take this string and compare each word into the dictionary;
check "how" and compare to dictionary. FOUND WORD.
check "would" and compare to dictionary. FOUND WORD.
Edited by Carc369