By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,152 Members | 1,663 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,152 IT Pros & Developers. It's quick & easy.

comparing files...

P: 25
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
Share this Question
Share on Google+
3 Replies

Expert Mod 5K+
P: 8,950
In current versions of Windows there is fc (file compare)

fc file1 file2
Sep 15 '06 #2

P: 25
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

Expert Mod 5K+
P: 8,950
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.