In c++, i know there is a find function, but i don't want to use that.
How can i find a word inside another word. So i have to take 2 strings. EX: string 1: mint
string 2: peppermint
how can i find and make sure the string "mint" is in peppermint and return the value (position) "mint" in in peppermint, in this example i have to return 6.
How can i do this?