I am supposed to write a C++ program that finds the longest common substring of two entered words. The program repeatedly prompts the user for two words and prints the longest substring that the two words have in common to the screen. The program quits when the user closes the input stream. I know we use for loops and nested loops . . . but that's all I know
Please help. I'm so lost
Thanks for any help.
This post has been edited by chghrtfzzy: 05 July 2008 - 11:31 PM

New Topic/Question
Reply




MultiQuote








|