开发者

Macros in c & C++

Is it possible to define or undefine macros dur开发者_开发问答ing runtime.


No. Macros are a preprocessor mechanism, and are fully resolved even before the compiler executes.

Their purpose is to alter the source code that the compiler sees, so they don't even exist at runtime (let alone permit modification).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜