Is #import or #include a job that is handled by the complier or by the linker?
+13
A:
Anything that starts with #
is a preprocessor directive and is expanded by the preprocessor, which is a step that happens before compilation.
sepp2k
2010-06-21 10:49:52
+1: In short, "neither". Neither compiler nor linker.
S.Lott
2010-06-21 10:51:33
Modern compilers usually integrate a preprocessor, but for the purpose of analysis and specification, you can still treat them separately.
Matthew Flaschen
2010-06-21 10:53:51