Код: Выделить всё
//Main Function
int main() {
sf::RenderWindow window(sf::VideoMode(800, 800), "Window Name");
sf::CircleShape creature;
creature.setRadius(50);
creature.setFillColor(sf::Color::Blue);
creature.setPosition(400, 400);
while (window.isOpen())
{
sf::Event event;
while (window.pollEvent(event))
{
if (event.type == sf::Event::Closed)
window.close();
}
window.clear();
window.draw(creature);
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/47530216/sfml-2-4-2-doesnt-draw-in-vs-2017-community[/url]