* Author: holy
*/
+#include "sdl/InitScreen.h"
+#include "sdl/InitSDL.h"
+
+#include <exception>
+#include <iostream>
+
+using sdl::InitScreen;
+using sdl::InitSDL;
+
+using std::cerr;
+using std::cout;
+using std::endl;
+using std::exception;
+
int main(int argc, char **argv) {
- return 0;
+ const int width = 800;
+ const int height = 480;
+
+ try {
+ InitSDL sdl;
+ InitScreen screen(width, height);
+
+ return 0;
+ } catch (exception &e) {
+ cerr << "exception in main(): " << e.what() << endl;
+ return 1;
+ }
}