Constants
If used in more than one place use a constant, not a number. If you know that the maximum number of widgets you'll use is 25 then define a constant for it like MAXIMUMWIDGETS, rather than use 25 everywhere.It's a convention to write constants in upper case to distinguish them from variables.
#define MAXIMUMWIDGETS 25Before the compilation the preprocessor will substitute each instance of MAXIMUMWIDGETS with the value 25. The original source code files aren't changed. This happens before every compilation. If in the future you can use a value of 50 then changing the one #define is simpler and safer than changing every value of 25. It would be easy to change the wrong 25.
The preprocessor does not understand C or C++ syntax. It's just a text editor. That's why there's no semi-colon needed at the end of each line.
Having learnt about #define, you'll learn a better way for defining constants on the next page.
On the next page : Learn more about constants and include files.

