Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include "MainWindow.h"
- int SCREEN_WIDTH = 800;
- int SCREEN_HEIGHT = 600;
- int main()
- {
- std::cout << "Hello, World!" << std::endl;
- Graphics::MainWindow window;
- window.CreateWin(L"Graphics Engine", SCREEN_WIDTH, SCREEN_HEIGHT);
- window.Show();
- MSG messages;
- while (GetMessage(&messages, NULL, 0, 0) > 0)
- {
- TranslateMessage(&messages);
- DispatchMessage(&messages);
- }
- window.Close();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement