36

The evilest thing to do in a C++ project:

#define TRUE FALSE

Comments
  • 5
    Nothing is true; everything is permitted
  • 6
    Or
    #define if while

    😈
  • 0
    @LicensedCrime Macros are preprocessed by the compiler. So, basically every instance of TRUE is first replaced by FALSE and then compiled. So yeah, it's kind of global, although that won't be the correct terminology for a macro.
Add Comment