468,469 Members | 2,291 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,469 developers. It's quick & easy.

comparing files...

are there any commands that can compare two files? Comparing in the sense that the two files are alike... Because I wrote a program that makes a backup file of another file... Just want to know if the files are the same...

hope somebody can help me....
Sep 15 '06 #1
3 2905
9,052 Expert Mod 8TB
In current versions of Windows there is fc (file compare)

fc file1 file2
Sep 15 '06 #2
thanks for response....
I am using turbo c++ 3.0 by borland, fc is not present in any library... are there any other ways I can compare these files?
Sep 15 '06 #3
9,052 Expert Mod 8TB
You mean function then rather than command?

fc is a command and runs at the DOS command line.

There is no function to do anything similar.
Sep 15 '06 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

11 posts views Thread by Dan Stromberg | last post: by
5 posts views Thread by Peteroid | last post: by
3 posts views Thread by s99999999s2003 | last post: by
reply views Thread by Gabriel Genellina | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.