1. Home
  2. Computing & Technology
  3. C / C++ / C#

Definition of Diff Utility

By David Bolton, About.com

Definition: When you're editing source code files, it is very easy to end up with multiple copies of the same file. Or, if you use a version control system, you'll occasionally need to look back at earlier versions and view the differences.

A Diff Utility makes this an easy task. It is a utility program that compares two files and highlights the differences. There are many available, either free or paid for. Some just work with source code, while others will do comparison of binary code. Some version control systems and IDEs have a diff utility built in.

All diff utilities show differences between two files. The more powerful can compare files in one directory against another and even allow you to merge the differences between files.

Glossary:

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Examples: Microsoft Visual C++ 6 comes with a Diff Utility called Windiff.

Explore C / C++ / C#

More from About.com

  1. Home
  2. Computing & Technology
  3. C / C++ / C#
  4. Glossary
  5. D
  6. Diff Utility - Definition

©2008 About.com, a part of The New York Times Company.

All rights reserved.