title: How to declare a static const char* in your header file?
body: <p>I'd like to define a constant char* in my header file for my .cpp file to use.  So I've tried this:</p>
  
  <pre><code>private:
      static const char *SOMETHING = "sommething";
  </code></pre>
  
  <p>Which brings me with the following compiler error:</p>
  
  <blockquote>
    <p>error C2864: 'SomeClass::SOMETHING' :
    only static const integral data
    members can be initialized within a
    class</p>
  </blockquote>
  
  <p>I'm new to C++.  What is going on here?  Why is this illegal?  And how can you do it alternatively?</p>