Is #define banned in industry standards?

前端 未结 13 2800
长发绾君心
长发绾君心 2020-12-23 18:52

I am a first year computer science student and my professor said #define is banned in the industry standards along with #if, #ifdef, <

13条回答
  •  攒了一身酷
    2020-12-23 19:25

    No. It is not banned. And truth to be told, it is impossible to do non-trivial multi-platform code without it.

提交回复
热议问题