Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Nov 17th, 2018 86 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. #include <iostream>
  2.  
  3. #include "MainWindow.h"
  4.  
  5. int SCREEN_WIDTH = 800;
  6. int SCREEN_HEIGHT = 600;
  7.  
  8. int main()
  9. {
  10.     std::cout << "Hello, World!" << std::endl;
  11.  
  12.     Graphics::MainWindow window;
  13.     window.CreateWin(L"Graphics Engine", SCREEN_WIDTH, SCREEN_HEIGHT);
  14.     window.Show();
  15.  
  16.     MSG messages;
  17.     while (GetMessage(&messages, NULL, 0, 0) > 0)
  18.     {
  19.         TranslateMessage(&messages);
  20.         DispatchMessage(&messages);
  21.     }
  22.  
  23.     window.Close();
  24.  
  25.     return 0;
  26. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top