c - Is there something wrong in #define and && -


i wonder if bad idea makes such defines in c:

#define , && #define or  || #define not ! 

it bad idea yourself.

if want names and instead of symbols &&, can include <iso646.h> c standard library header, defines several named operators, including 3 mention.

in c++, alternative representations (like and , or) operators built language, don't need include header use them, , isn't possible define them macros (a macro name must identifier, , alternative representations operators, not identifiers, during preprocessing).


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -