From f555cb6f3af8d31a315305c063676cd60b2109a0 Mon Sep 17 00:00:00 2001 From: oltnd Date: Sat, 9 Nov 2024 15:15:27 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20flag=5Ffor=5Femin.cpp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flag_for_emin.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/flag_for_emin.cpp b/flag_for_emin.cpp index 17c6e72..2cd6fb4 100644 --- a/flag_for_emin.cpp +++ b/flag_for_emin.cpp @@ -11,12 +11,9 @@ void z4() { // Определяем, находится ли точка (x, y) внутри круга int dx = x - centerX; int dy = y - centerY; - if (dx * dx + dy * dy <= circleRadius * circleRadius) { - - } - else { + SetConsoleTextAttribute(hConsole, 0xf0); // Белый цвет - } + cout << " "; // Два пробела для более широкого изображения } cout << endl;