Click here to Skip to main content
15,353,731 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:

doc1 I am a student also girl
doc2 I am a student
doc3 I am a boy

matching words is "student"
using open file and read line by line as dictionary words. And also placing Doc ID.

My result file is,

doc1 I am a student also girl
doc2 I am a student

how to solve them,

Updated 1-Oct-10 10:57am
OriginalGriff 1-Oct-10 10:53am
Nope, sorry, but you will have to do better than that.
Try asking a question, or explaining what you have a problem with.
Otherwise, we will have to assume that you have just written out half of your homework question, without bothering to think about what you are supposed to be doing with it! But you wouldn't do that, would you? No.
Sandeep Mewara 1-Oct-10 11:54am
What have you tried yourself? Any effort?
Amir Mohammad Nasrollahi 26-Dec-14 5:46am
what are you looking for? are you talking about LCS Algorithm?
See this:

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900