Computer Science Canada word for word comparison |
Author: | dchini [ Thu Oct 23, 2008 10:28 pm ] | ||
Post subject: | word for word comparison | ||
i have this code to compare two files word for word... my code is having problems and i cant figure it out..... if anyone has any ideas id be very happy!
|
Author: | dchini [ Thu Oct 23, 2008 10:30 pm ] |
Post subject: | RE:word for word comparison |
in a test that i had run it had printed "EOF on file one" when is should have been equal |
Author: | dchini [ Fri Oct 24, 2008 12:02 am ] | ||
Post subject: | RE:word for word comparison | ||
Alright the problem is the output will be "EOF" when one of the input files has an extra empty line and the other input file doesn't. Although Ive figured out why I'm getting an error ive yet to figure out how to correct my problem. Here is a more readable version of the function
|