471,052 Members | 1,308 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,052 software developers and data experts.

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 2969
9,065 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,065 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 leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.