Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

I need help with a program using strings

Status
Not open for further replies.

Guest
i am writing a program that i am supposed to input two strings: name, word, and figure out using two functions: bool search(string name, string word) and int search(string name, char c, int start_position) which i have to write. i figure that i have to use one search function inside the other with a loop in each, but i dont know exactly how to do it. any suggestions?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor