cpp macro

define is used to define a macro in C++. It is followed by the name of the macro and the value it should be replaced with. For example:

define PI 3.14159

This would replace every occurrence of "PI" in the code with "3.14159".