digitalmars.com                        
Last update Mon Mar 8 17:52:42 2010
Compiler & Tools Guide

Tools
BCC
CHMOD
CL
COFF2OMF
COFFIMPLIB
DMC
DIFF
DIFFDIR
DUMP
DUMPOBJ
DUMPEXE
EXE2BIN
FLPYIMG
GREP
HC
IMPLIB
LIB
LIBUNRES
MAKE
MAKEDEP
ME
OBJ2ASM
PATCHOBJ
RC
RCC
SC
SHELL
SMAKE
TOUCH
UNMANGLE
WHEREIS


Compiling
Compiling Code
C Implementation
C++ Implementation
Language Extensions
Mixing Languages
Assembly Language
Inline Assembler
Optimizing Code
Numerics Programming
Regular Expressions
Acrtused
Pragmas
Precompiled Headers
Predefined Macros
Warning Messages
Error Messages
Runtime Messages


Linking
Optlink
Switches
Module Definition Files
Operation and Design
Error Messages


Win32 Programming
Win32 Programming


DOS and Win16
Programming

Memory Models
16 Bit Pointer Types
and Type Modifiers

Handle Pointers
DOS
DOS 32 (DOSX)
Win16
Win16 DLLs
Win16 Prolog/Epilog
Virtual Memory
For 640Kb DOS



C/C++ Extensions
Contract Programming
__debug statement
__debug declaration
Dynamic Profiling
Embedding C in HTML


Porting to DMC++
Switching to DMC++
from Microsoft
from Borland
Porting Guide



DIFFDIR: Compare Directories

diffdir recursively compares the contents of two directory trees. Files are compared by reading the files and comparing them byte-for-byte. All files, including hidden and system files, are compared.
	diffdir switches... dir1 dir2
switches:
-v Verbose
The output of the program will list files that are different from dir1 to dir2, prefixed by a character:
- File exists in dir1 but not in dir2.
+ File exists in dir2 but not in dir1.
# File exists in both dir1 and dir2, but has different contents.
It's useful for:
  • Verifying that a backup actually does contain exactly the same files with the same content.
  • Determining what files in a release package have changed from one version to the next.
  • Determining what files on a disk were modified by an installation program (by comparing with a backup).
  • Detecting if files on a disk were tampered with by comparing with a known good backup.