I have some static const strings as private members of my C++ class. I am aware of the declaration in .h and definition (and initialization) in .cpp practice. In the class c
Is this what you need?
class blah{ static const string sz; public: blah(){ cout<<"blah constructor - string initialized to: "<
Program Output: blah constructor - string initialized to: Hello, Blah!