#include anywhere

后端 未结 7 1126
心在旅途
心在旅途 2020-12-15 08:55

Is the #include meant to be used for headers only or is it simply a mechanical \"inject this code here\" that can be used anywhere in the code?

7条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-15 09:45

    Should work, it's processed by your preprocessor, your compiler won't even see it.

提交回复
热议问题