Mercurial > sdl-ios-xcode
view EXCLUDE/GLTSF/src/Main.cpp @ 4761:bb2e32f5a556
Removed spurious carriage returns
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 22 Aug 2010 12:34:31 -0700 (2010-08-22) |
parents | 0c7c67d4e6ee |
children |
line wrap: on
line source
#include "App.hpp" #include <stdexcept> int main(int argc, char *argv[]) { int Result = EXIT_SUCCESS; try { App theApp; theApp.Run(); } catch (const std::exception& e) { printf("Error: %s\n", e.what()); Result = EXIT_FAILURE; } catch (...) { printf("Unhandled exception\n"); Result = EXIT_FAILURE; } system("PAUSE"); return Result; }