옵션 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #define DEBUG true void main(void) { #if(DEBUG == true) Temperature = 50; #else Temperature = GetTemperatrue(); #endif ... } | cs |
1 2 3 4 5 6 7 | #define DEBUG true #if(DEBUG == true) #error you have activate "DEBUG". #endif | cs |