text: #include "Application.h"
  
  #include <SDL2/SDL.h>
  
  #ifdef _DEBUG
  #pragma comment(lib, "SDL2maind.lib")
  #else
  #pragma comment(lib, "SDL2main.lib")
  #endif
  
  #include <exception>
  
  int main(int argc, char* argv[]) {
      Application app(800, 600);
  
      try {
          app.Startup();
          app.Run();
          app.Shutdown();
      }
      catch (const std::exception& exception) {
  #ifdef _DEBUG
          SDL_Log("%s", exception.what());
  #else
          SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Run-Time Error", exception.what(), nullptr);
  #endif
          return EXIT_FAILURE;
      }
  
      return EXIT_SUCCESS;
  }
  