I need to write a C++ program taking a vector of strings and separating out the words in each, storing them into a vector, but I don't know how. Could anyone help me please?
Thanks in advance!Code:Template Code:
vector <string> seperateWords (vector<string> lines) {
vector<string > words;
//Separating stuff goes here
return words;
}