you are viewing a single comment's thread
view the rest of the comments
[โ€“] 76 points 2 years ago* (4 children)

Put #define true (rand()%1000 != 0) in some obscure C or C++ header file on their system/project. This makes true evaluate to false one in a thousand times, and will make them spend hours trying to figure out why things like infinite loops, aren't quite infinite.

Other languages should also allow you to do things like this, if not messing with constants, messing with standard library functions.

  • source
  • hideshow 8 child comments
  • [โ€“] 11 points 2 years ago (1 child)

    If your going that evil
    #define { {}{

  • source
  • parent
  • hideshow 2 child comments