Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define thing1 0
- #define thing2 1
- #define thing3 2
- #ifdef thing
- #if thing == thing2
- #undef thing
- #define thing thing3
- #endif
- #if thing == thing1
- #undef thing
- #define thing thing2
- #endif
- #elif !thing
- #define thing 0
- #endif
- printf("\n thing: %d\n", thing);
- #ifdef thing
- #if thing == thing2
- #undef thing
- #define thing thing3
- #endif
- #if thing == thing1
- #undef thing
- #define thing thing2
- #endif
- #elif !thing
- #define thing 0
- #endif
- printf("\n thing: %d\n", thing);
Add Comment
Please, Sign In to add comment