From d434220791f867accfac1425224b52ddfe6c0df4 Mon Sep 17 00:00:00 2001 From: "Nikolay (KrivobokovNS)" Date: Mon, 25 Aug 2025 19:08:50 +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=B0=20=D0=B1=D0=B8=D0=B1=D0=BB=D0=B8=D0=BE=D1=82?= =?UTF-8?q?=D0=B5=D0=BA=D0=B0=20cURL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.cpp b/main.cpp index 07fc4c4..20a9414 100644 --- a/main.cpp +++ b/main.cpp @@ -1,4 +1,5 @@ #include +#include #include #include "histogram.h" #include "text.h" @@ -42,6 +43,9 @@ int main() { std::string fill = "red"; std::string stroke = "#000000"; + curl_global_init(CURL_GLOBAL_ALL); + + auto in = input_data(cin, true); auto bins = make_histogram(in.numbers, in.bin_count); show_histogram_svg(bins, fill, stroke);