Objective - C iPhone应用程序的编译器是否删除评论?

时间:2021-03-21 20:57:19

I just wondered if comments are included in binaries, or does the compiler know to remove them?

我只是想知道注释是否包含在二进制文件中,或者编译器是否知道要删除它们?

1 个解决方案

#1


7  

Objective C, just like plain C, uses the preprocessor to do that kind of stuff. The compiler doesn't even see comments.

Objective C,就像普通的C一样,使用预处理器来做这些事情。编译器甚至看不到注释。

#1


7  

Objective C, just like plain C, uses the preprocessor to do that kind of stuff. The compiler doesn't even see comments.

Objective C,就像普通的C一样,使用预处理器来做这些事情。编译器甚至看不到注释。