life are not fair!
is there a way to declare a string like that in the header?Code:// foo.h class foo { static const int pi=314; // ok static const char* const dora="dora explora."; }
I know I can initialize it in the cpp but I think that if I could put all the class's constants in one place the code will be more readable.