June 2002
Intermediate to advanced
864 pages
18h 35m
English
To use the Debug class, the DEBUG flag must be defined, or else the methods of this class will not be compiled into the executable or library. Similarly, to use the Trace class, the TRACE flag must be defined. This way you can have different diagnostics for release and debug builds. Bring up the project property pages from the menu Project | Properties. Choose Build under Configuration Properties. You can then check or uncheck the DEBUG and TRACE conditional compilation constants, as shown in Figure B-1.

Read now
Unlock full access