From 71cd45931b2528bf6e3d790502d5e86a66759a32 Mon Sep 17 00:00:00 2001 From: KozlovVV Date: Mon, 14 Oct 2024 01:19:27 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20svg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 0e78004..d98e990 100644 --- a/main.cpp +++ b/main.cpp @@ -1,7 +1,8 @@ #include #include #include "histogram.h" -#include "text.h" +#include "svg.h" +#include "show_svg.h" using namespace std; struct Input { @@ -36,7 +37,7 @@ int main() { Input in = input_data(); vector bins = make_histogram(in.numbers, in.bin_count, in.number_count, in.max_count); - show_histogram_text(bins, in.max_count, in.bin_count); + show_histogram_svg(bins); return 0; }