using #defined values
True 'nuff. The _only_ things I use macros for are:
- Debug code (stuff guaranteed to be ignored during compilation when I turn off debug flags)
- The afore-mentioned debug flags
- Code requiring macros to be compatible with other code. Example: DirectX 8's implementation of DirectInput requires you to define a version number macro to avoid getting stupid distracting warning messages. Bollocks.
[edit]Whoops, not a UBB bulletin board--bad tags. [/edit]
---
blahpers
[edited by - blahpers on June 3, 2002 12:45:23 AM]
- Debug code (stuff guaranteed to be ignored during compilation when I turn off debug flags)
- The afore-mentioned debug flags
- Code requiring macros to be compatible with other code. Example: DirectX 8's implementation of DirectInput requires you to define a version number macro to avoid getting stupid distracting warning messages. Bollocks.
[edit]Whoops, not a UBB bulletin board--bad tags. [/edit]
---
blahpers
[edited by - blahpers on June 3, 2002 12:45:23 AM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement