     while (window.isOpen())     {         sf::Event evnt;         while (window.pollEvent(evnt))         {             if (evnt.type == evnt.Closed)             {                 window.close();             }         }         window.clear();         window.display();     }     return 0; }  