Hacker News new | past | comments | ask | show | jobs | submit login

#define and &&

heh




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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: