开发者

Simple question about #import

开发者 https://www.devze.com 2023-01-04 08:55 出处:网络
Is #import or #in开发者_StackOverflow中文版clude a job that is handled by the complier or by the linker?Anything that starts with # is a preprocessor directive and is expanded by the preprocessor, whi

Is #import or #in开发者_StackOverflow中文版clude a job that is handled by the complier or by the linker?


Anything that starts with # is a preprocessor directive and is expanded by the preprocessor, which is a step that happens before compilation.


preprocessor -> compiler -> linker

# is handled by first - preprocessor

0

精彩评论

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