#include #include int main(){ sf::RenderWindow window(sf::VideoMode(300, 300), "SFML"); sf::CircleShape shape(10.0f); shape.setFillColor(sf::Color::Green); while (window.isOpen()) { sf::Event event; while (window.pollEvent(event)){ if (event.type == sf::Event::Closed){ window.close(); } } window.clear(); window.draw(shape); window.display(); } return 0; }