??? 02/14/06 19:48 Read: times |
#109979 - in a much more complex environment Responding to: ???'s previous message |
I do not know if you just have 'a' and 'b', but in a much more complex environment I use the following
#ifdef a #define a... #define ab.. #define a.c. #define ab.d #define abc. #define a.cd #define abcd #define a.cd #endif #ifdef b #define .b.. #define ab.. #define .bc. #define .b.d #define abc. #define ab.d #define .bcd #define abcd #endif same for c and d the in actual code use the appropiate of the above I find this clearer when using that many conditions. Erik |
Topic | Author | Date |
C preprocess question | 01/01/70 00:00 | |
defined() if supprorted | 01/01/70 00:00 | |
in a much more complex environment | 01/01/70 00:00 | |
#ifdef vs #if defined() | 01/01/70 00:00 | |
problem solved![]() | 01/01/70 00:00 |