Quote:
I have array of string which have the following:
one meaning of one
two meaning of two
three meaning of three
For example, "one" is a word and "meaning of one" is a meaning of one. How would I divide each line into two pieces so I can have word and meaning separately?
I would like to use getline but don't know how to use it.
I want to use a first space to separate those into word and meaning.
Please let me know. thanks
I've answered this same question twice already, so I'm not going to do it again. If you want my answers, check back in the other threads you posted this.