Could someone check this vector for me please because I am not sure
-Create a function called createKeywords to receive a text(string) and will return a vector with keywords. For more advanced feature create a list of words which you do not want to be in your keywords. For example, when, where, what, I, you, they (You do not have to do advanced feature). I was wondering how to make the vector of list not in the keywords.This is what I have so far int createKeywords (string text) { vector <string> keywords { keywords.push_back ("when"); keywords.push_back ("where "); keywords.push_back ("what"); keywords.push_back ("I"); keywords.push_back ("you"); keywords.push_back ("they"); } for (int i=0; i<keywords.size(); i++) { cout <<keywords[i] << endl; } return keywords; } Thanks in advance