# define
Preprocessor Directive used to create macros.
There are 2 types of directives:
- Object-like Macros ← variables are better
- Function-like Macros ← ill advised use case. use normal functions instead
Object-like Macros
Without Substitution Text
Any further occurrence of the identifier is removed and replaced by nothing!
With subsitution Text
example:
Function Macros
I love these, but apparently theyre bad practice.