Preprocessor

Macros R Us

The preprocessor is run before compilation and here are my notes on the preprocessing directives.

#include

#include <rules> - 2010

Top 10 C++ header file mistakes and how to fix them - 2016

Undefining the C++ Pre-processor - 2018

#if, #elif, #else, #endif

#ifdef vs #if and if - 2016

#ifdef, #ifndef

#define, #undef

#error

#pragma

Productivity Boost – Note and Warn Macros

Macro Evil in C++ Code - 2019