title: How to declare an static instance of a Class in C++?
body: <p>Some months ago I created a C# Project of a game called Vexed. Now I'm creating a Tetris, but in C++. Basically I want to use the same logic I used in the other project, it was a little bit like this:</p>
  
  <p>I created a Class called "Game" where there was all the information about the game. It had it's methods, variables and everything. Then, I created a static class called "PublicInstances" or something like that, and in that class I declared something like this:</p>
  
  <pre><code>static class PublicInstances
  {
      public static Game vexedGame = new Game(); //This is C# and works.
  }
  </code></pre>
  
  <p>It made it so simple to use then, because any change I made on the game was saved in that static instance of my class and I could access it anywhere on the project. I want to know how to do exactly that with C++, to create a public or global instance of my class Game so I can access it and change it everywhere and have everything updated in any Form or class of my project. I would really appreciate your help.</p>
  
  <p>// Sorry if my English isn't the best ^^</p>