title: Visual C++: Compiler Error C4430
body: <p>The code of <strong>Game.h</strong>:</p>
  
  <pre><code>#ifndef GAME_H
  #define GAME_H
  
  class Game
  {
      public:
          const static string QUIT_GAME; // line 8
          virtual void playGame() = 0;
  };
  
  #endif
  </code></pre>
  
  <p>The error:</p>
  
  <pre><code>game.h(8): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
  game.h(8): error C2146: syntax error : missing ';' before identifier 'QUIT_GAME'
  game.h(8): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
  </code></pre>
  
  <p>What am I doing wrong?</p>