i need to compare two files, the first file is a kind of dictionary with all the words and the second file is having some data in it. i need to compare the words in file2 with that in file1 , if the word of file2 exists in file1 then i have to print the word, and the offset of the word in the file.
how do i compare the two files.
how do i compare the two files.