Design a class for perform the following (without using any library function for string manipulation)
Read a string (containing words and spacing characters)
Find out the longest word in the string
Compare two strings
Find out the longest common sub string(word) of the two string
Display a string

Recommended Answers

All 2 Replies

That sounds like a very worth while assignment. What have you accomplished so far? Is there anything in particular that you had a question about?

Dude, nobody's here to do your assignments for you. Put up some code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.