Is there any way to make a global constant in C++ classes?
Have 2 C++ classes:
class c1;
class c2;
Would like to define a global constant g_const in c1 but the global constant value obtained with a method M1 in c1. It will be used in c2. How to do that or it can't be done.