From 9470209d1f904c750c5940fa36d4faec8e5f4548 Mon Sep 17 00:00:00 2001 From: "lab34 (BiriukovaAlS)" Date: Mon, 24 Apr 2023 15:06:50 +0300 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B2=D0=B5=D1=80=D1=88=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=BE=D1=81=D0=BD=D0=BE=D0=B2=D0=BD=D0=BE?= =?UTF-8?q?=D0=B9=20=D1=87=D0=B0=D1=81=D1=82=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/main.cpp b/main.cpp index b217cf0..9f5e786 100644 --- a/main.cpp +++ b/main.cpp @@ -3,6 +3,7 @@ #include #include "histogram.h" #include "text.h" +#include "svg.h" using namespace std; @@ -33,15 +34,11 @@ input_data() return in; } - - - - int main() { - Input in = input_data(); + auto in = input_data(); auto B = make_histogram(in.numbers, in.kol_kor); - show_histogram_text(B, in.kol_kor); + show_histogram_svg(B); return 0; }