From 056e456fbe165d16bcb0c7a8825eb318cfe93df3 Mon Sep 17 00:00:00 2001 From: "Dima (LekomtsevDO)" Date: Mon, 19 May 2025 16:19:33 +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=D0=B8=D0=B5=20curl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 8212f3d..1c10aa4 100644 --- a/main.cpp +++ b/main.cpp @@ -2,6 +2,8 @@ #include #include "histogram.h" #include "text.h" +#include "svg.h" +#include using namespace std; @@ -35,6 +37,8 @@ Input input_data(istream& inx, bool prompt) int main() { + curl_global_init(CURL_GLOBAL_ALL); + bool prompt = true; auto in = input_data(cin, prompt); @@ -44,7 +48,7 @@ int main() double bin_size = (max - min) / in.bin_count; - show_histogram_text(bins,in.bin_count, bin_size); + show_histogram_svg(bins); return 0; }