title: C++ "Error expected a ')'"
body: <p>Visual Studio is giving me an odd error when running my C++ program.  I even copied and pasted the code from SFML's website, but for some reason after window (sf::VideoMode Visual Studio says "Eror, expected a ')'".  When I run the program, it gives error C2226 on line 8 (the render window one).  What am I missing?</p>
  
  <pre><code>#pragma once
  
  #include "SFML/Graphics.hpp"
  #include "SFML/Window.hpp"
  
  class AirportGame {
  private:
      sf::RenderWindow window(sf::VideoMode(800, 600), "SFML window"); // This line
  public:
      void init();
  
      void tick();
  
      void render();
  
      int main();
  };
  </code></pre>