Simple question about #import
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
精彩评论