precompiler tag

1 questions


1 answers
83 views
0
Why do you define true like #define TRUE (1==1) instead of just 1?

I saw the C chordWhy did they bother writing it like that instead of writing it as 1, 0?Is there anything better?#define TRUE (1==1)#define FALSE (!TRUE)

2 years ago

© 2024 OneMinuteCode. All rights reserved.