Write Unix "diff" command in C Programming

I am currently try to write unix "diff" command into C

Mean it will use the opendir(), readdir(), closedir() and memcmp().

For me, i learn C++ 7 years ago and i have 1 week to complete the source code.

Anyone have any sample or any reference i can refer to?

It is a simple source code comparing 2 directory and print out the different ...

Topic archived. No new replies allowed.