macro tag

3 questions


1 answers
81 views
0
Why did you define TRUE and FALSE macros like this?

I saw in the book that TRUE/FALSE was defined like this, but I don't know the reason. #define TRUE '/'/'/' #define FALSE '-'-'-'What does this mean?Why can you write that one-zero?

2 years ago

1 answers
99 views
0
Can I write or in #ifdef?

It's a very basic question, so I'm a little shyI'm going to do the same thing on Linux and Android, so I'm going to tie them up. I thought I could do | of course, but I couldn't...How should I write o...

2 years ago

1 answers
114 views
0
Does anyone know what code ":-!!" is in the kernel header?

The code was imported from /usr/include/linux/kernel.h/* Force a compilation error if condition is true, but also produce a result (of value 0 and type size_t), so the expression can be used e.g. in a...

2 years ago

© 2024 OneMinuteCode. All rights reserved.