Hello,

How do i read a simple file and look for "repeated
words" in each line, writing out the words i have
found and the numbers of line they were found?

eg:
File ==> Test.Dat
sample line of text.
this line follows another line.
This is the last line.

The program should report:

Repeated Word(s): 'line'  on Line 2.


Any Sample code?

TIA,

H3li0


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Reply via email to