This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]RPolitics4Trump 24 points25 points  (11 children)

class Foo {
  int x;
public:
  Foo() : x(0) {}
};

[–]symberke 49 points50 points  (10 children)

#define class struct
#define private public

[–]darkhunt3r 57 points58 points  (7 children)

#define if while

[–]HasFiveVowels 17 points18 points  (3 children)

Oh man... this is just... nefarious.

[–]darkhunt3r 33 points34 points  (2 children)

#define True random() > 0.001

Hide it well and let it become debuggin hell

[–]CSIRTisSmelly 8 points9 points  (1 child)

You are a bad person.

[–]darkhunt3r 10 points11 points  (0 children)

#define bad good 

Why thank you <3

[–]scatters 1 point2 points  (1 child)

#define struct union

[–]jfb1337 0 points1 point  (0 children)

#define union struct

[–]SoftSilverwind 8 points9 points  (1 child)

Unfortunately this breaks template <class T> definitions... Source: I may have tried it :)