daily pastebin goal
2%
SHARE
TWEET

Untitled

a guest Jun 22nd, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int main()
  2.     {
  3.     sf::RenderWindow window(sf::VideoMode(960, 640), "proj v0.0.1");
  4.  
  5.     while (window.isOpen())
  6.     {
  7.  
  8.         sf::Event event;
  9.         while (window.pollEvent(event))
  10.         {
  11.             if (event.type == sf::Event::Closed)
  12.             {
  13.                 window.close();
  14.             }
  15.         }
  16.  
  17.         window.clear(sf::Color::Black);
  18.  
  19.         window.display();
  20.  
  21.     }
  22.  
  23.     return 0;
  24. }
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