Debug Print Macro in C?

前端 未结 0 654
滥情空心
滥情空心 2020-12-23 01:07

in C, what is the proper way to define a printf like macro that will print only when DEBUG symbol is defined?

#ifdef DEBUG
#define DEBUG_PRINT(???) ???
#else         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题