A simple question about #import

Is #import or #include a job that is being processed by the compiler or linker?

+4
source share
2 answers

Everything that starts with # is a preprocessor directive and extends by the preprocessor, which is the step that occurs before compilation.

+13
source

preprocessor -> compiler -> linker

# processed first - by preprocessor

+4
source

Source: https://habr.com/ru/post/1313374/


All Articles