How define a array that has constant default value in class?
If the array is constant, make it static.
class MyClass1{ protected: static const double m_constant[]; : }; static const double MyClass1::m_constant[] = {55,128,244,311};
How define a array that has constant default value in class?
Thanks!