Notices tagged with define
-
I didn't realize CPP would let you #define C keywords. It's... eeeeeeeeeevil.
-
#define false true /* happy debugging suckers */
-
#define ROTL(V,N) ((V >> ((sizeof(V) * CHAR_BIT) - N)) | (V << N)) #invaluable
-
#define MASK(n) (1 << (n - 1)) | ((1 << (n - 1)) - 1) int wtf[4] { MASK(32) ^ MASK(24), MASK(24) ^ MASK(16), MASK(16) ^ MASK(8), MASK(8) };
-
Would -you- #define true as 0? If not, deep down you're agreeing with me. :P
-
If people can't uncomment a #define so things don't break in c99, that shouldn't stop bool from truly being part of the language.
-
#define reinterpret_cast(to,from,value) (((union{from _; to t;}){value}).t) /* >=C99 eq. *(to*)&value w/no strict-aliasing warnings */
-
recv() timeouts make testing with netcat very annoying, but at least I made a solution easy: #define AIR_TIMEOUT MINUTES(5) #macros
about 7 months ago from web -
#define UNICODE シラネーヨ!
-
If you had to do Java for 1 year, C is such optical delight ;) #define
about 9 months ago from Choqok -
#define in middle of a C-function, WHAT!?
-
RT @fo0_ Drague == harcèlement ?? si non, ou commence l'un ? Selon l'humeur ? #define car ca devient débile vos trucs ..