Searching words in a text

Well I have this funcion:

vector<string> SequenceOFwords();
//The number of strings is undefined.

void the_right_text(Text& t, SequenceOFwords&){

}

-------------------------------------------------------
The text t is a text allready read it. The text is a map made of phrases(vector<string>)
The function has to return if the text has all the words of SequenceOFwords. The vector isnt a phrase so the first word can be in the begining of the text and the second one in the final.

If anyone knows how to do it I will aprecciated too much. Its for a university project of a liberary.
Last edited on
Topic archived. No new replies allowed.