title: SDL Window won't pop up
body: <p>My window won't pop up.</p>
  
  <p>Console appears, and without opening window just says that "Application ended"</p>
  
  <p>Here is my code:</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;SDL2/SDL.h&gt;
  #include &lt;SDL2/SDL_ttf.h&gt;
  #include &lt;SDL2/SDL_mixer.h&gt;
  #include &lt;SDL2/SDL_image.h&gt;
  #include &lt;windows.h&gt;
  
  using namespace std;
  
  SDL_Window * okno;
  SDL_Surface * ekran;
  SDL_Event zdarzenie;
  
  int frame = 0;
  
  int main(int argc, char*args[])
  {
      SDL_Init(SDL_INIT_EVERYTHING);
      return 0;
  
      okno = SDL_CreateWindow("SDL_TEST", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 800, 600, NULL);
  
      ekran = SDL_GetWindowSurface(okno);
  
  }
  </code></pre>