From 5447a773e7ac53701bf09904aeaf1cfc6492c0a2 Mon Sep 17 00:00:00 2001 From: YusufovYB Date: Mon, 24 Apr 2023 00:25:39 +0300 Subject: [PATCH] =?UTF-8?q?code:=D0=BF=D0=BE=D0=B4=D0=BA=D0=BB=D1=8E=D1=87?= =?UTF-8?q?=D0=B5=D0=BD=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=20=D1=86=D0=B2?= =?UTF-8?q?=D0=B5=D1=82=D0=BD=D0=BE=D0=B9=20=D0=B3=D0=B8=D1=81=D1=82=D0=BE?= =?UTF-8?q?=D0=B3=D1=80=D0=B0=D0=BC=D0=BC=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 6fc09d2..bc83488 100644 --- a/main.cpp +++ b/main.cpp @@ -1,3 +1,4 @@ +#include "svg.h" #include #include #include "histogram.h" @@ -29,7 +30,7 @@ Input input_data() int main() { auto in = input_data(); auto bins = make_histogram(in.numbers, in.bin_count); - show_histogram_text(in.bin_count, in.numbers); + show_histogram_svg(bins); return 0; } @@ -38,3 +39,15 @@ int main() { + + + + + + + + + + + +