Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • 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

  • Thread starter Thread starter -
  • Start date Start date
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

Back
Top