Reputation: 13557
Is #import or #include a job that is handled by the complier or by the linker?
Upvotes: 4
Views: 143
Reputation: 60075
preprocessor -> compiler -> linker
#
is handled by first - preprocessor
Upvotes: 4
Reputation: 370357
Anything that starts with #
is a preprocessor directive and is expanded by the preprocessor, which is a step that happens before compilation.
Upvotes: 13