R
ruffiano
I have a file called first.cpp that contains the following
declarations:
static const char *MY_STRING1 = "My first string";
static const char *MY_STRING2 = "My second string"
If I wanted to use MY_STRING1 and MY_STRING2 in a header file, would
the following be correct?
extern static const char *MY_STRING1;
extern static const char *MY_STRING2;
Thanks in advance for your input.
declarations:
static const char *MY_STRING1 = "My first string";
static const char *MY_STRING2 = "My second string"
If I wanted to use MY_STRING1 and MY_STRING2 in a header file, would
the following be correct?
extern static const char *MY_STRING1;
extern static const char *MY_STRING2;
Thanks in advance for your input.