C Progarm to compare two text files

Hii All,
i am a begginer at c programming in the first semetser of study, and i am trying to doing my project what is:

Diff — The program should compare two text files and list the differences, i.e. lines and columns of the beginning and the end of a given difference.

i dont know how to start or what to do with this, please anyhelp :)
thank you
Determining where changes begin and end between two files is not a trivial problem if lines have been inserted or deleted in either file.

If you can assume the two files have the same number of lines, the problem is much simpler. Simply read one line from each of the two files. Then compare the respective lines for differences.
Topic archived. No new replies allowed.