Is it better to use static const vars than #define preprocessor? Or maybe it depends on the context?
static const
#define
What are advantages/disadvantages for
Please see here: static const vs define
usually a const declaration (notice it doesn't need to be static) is the way to go