Y
Hacker News
new
|
ask
|
show
|
jobs
by
corruptio
3747 days ago
#define and &&
heh
2 comments
cpeterso
3747 days ago
iso646.h already `#defines and &&` for you:
https://en.wikipedia.org/wiki/C_alternative_tokens
link
cmrdporcupine
3747 days ago
Yep, had the same thought. #define AND(a,b) a && b
link
analognoise
3747 days ago
See answer above about arbitrary number of arguments.
link