??? 02/14/06 04:10 Read: times Msg Score: -1 -1 Didn't Search First |
#109895 - C preprocess question |
Hello,
Anybody know how to do logical operations with preprocess instrutions, for example, #define A #define B // if either A or B is defined, #if ((#ifdef A) || (#ifdef B)) // incorrect! // do something #else // do other thing #endif Regards, |
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 |