C++; what's the best structure to use for words.
I have to input a bunch of words, store all of them, then take the last word inputed and see how many names including that one start and end with the same letters.
I had a problem close to this, but I didn't need to store the words, because I was told to use the first word to compare the rest. So I used a character array: words[40] to do this.
We recently went over strings, structs, and the last five minutes of class started on stacks. Not sure what to use, I understand how to use a traversel to go back into the data that I have stored, just not sure how to store it.
------------------
Schmitty
EG 278