Search a string for a word and return the number corresponding to the number of vector. c++
<p>Any ideas of this?<br>
(DONE) I want to search my string for a specific word<br>
(DONE) If that word is found<br>
(ANY IDEAS) I want to output the number of vector which is the word in it.</p>

<p>i have this here string modules[MODULENO+1] = {"", "Maths", "Sciences", "French", "English"}; i search this string for a word.. i find that word.. the thing i want is to output the number of the vector which is in.. lets say i am searching for English.. i found that word... now i want to output (( the module English is in vector 4 )) </p>

<p>thank you in advance </p>
