Help with a function.

So, I am going to make a function. I got a list with names and the function is supposed to search and find every name that includes the letters I write. For example if I put "pa" it's supposed to present "Wilkinson, Paul and Paralel, Neil". Now, do I use a bool function for this? I am just not sure how to start.
Read about stricmp() if you are using C strings, and read about std::string::find() if you are using STL strings.
Topic archived. No new replies allowed.