Hacker News new | ask | show | jobs
by corruptio 3747 days ago
#define and &&

heh

2 comments

iso646.h already `#defines and &&` for you: https://en.wikipedia.org/wiki/C_alternative_tokens
Yep, had the same thought. #define AND(a,b) a && b
See answer above about arbitrary number of arguments.