C
You're viewing a free preview. Sign in free to read every script.
Why this exists Before the compiler sees your code, a separate step called the preprocessor rewrites it as text. include pastes a file in, define replaces names, and if keeps or drops whole blocks. It knows nothing…
C Basics: The Preprocessor, Macros, Build-Time Flags and static inline
What #include and #define really do (text replacement before compiling), the macro mistakes that cost hours, how -DDEBUG and -DVERSION switch behaviour at build time, and when a static inline function is the better tool.
Sign in free to read this script, along with the rest of the library.
Sign in free