From 26886daedcf6bc8b8aa51a161db358fd293805c5 Mon Sep 17 00:00:00 2001 From: ShinkarenkoVA Date: Wed, 8 May 2024 08:48:00 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=20=D0=BF?= =?UTF-8?q?=D1=80=D0=B5=D0=B4=D0=BB=D0=BE=D0=B6=D0=B5=D0=BD=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- svg01.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/svg01.cpp b/svg01.cpp index 0562197..42afd40 100644 --- a/svg01.cpp +++ b/svg01.cpp @@ -33,19 +33,19 @@ svg_rect(double x, double y, double width, double height, string colors_stroke, void input_colors(string &colors_stroke, string &colors_fill){ string color_personal; - cout << "Do you want to change colors? Yes/No" << endl; + cerr << "Do you want to change colors? Yes/No" << endl; cin >> color_personal; while ((color_personal != "No") && (color_personal != "Yes")){ - cout << "WRONG ANSWER! Try again!" << endl; + cerr << "WRONG ANSWER! Try again!" << endl; cin >> color_personal; } if (color_personal == "No"){ return; } else { - cout << "What color for a stroke do you want?" << endl; + cerr << "What color for a stroke do you want?" << endl; cin >> colors_stroke; - cout << "What color to fill do you want?" << endl; + cerr << "What color to fill do you want?" << endl; cin >> colors_fill; } return;