From 0ae731f84d7697a3ff6792a686729fda87c373c7 Mon Sep 17 00:00:00 2001 From: ShchipkovMY Date: Wed, 13 Sep 2023 13:34:38 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=BF=D0=BE=D0=B4=D0=BA=D0=BB=D1=8E?= =?UTF-8?q?=D1=87=D0=B8=D0=BB=20cURL=20=D0=BA=20=D0=BF=D1=80=D0=BE=D0=B5?= =?UTF-8?q?=D0=BA=D1=82=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.cpp b/main.cpp index 5167e89..79f593a 100644 --- a/main.cpp +++ b/main.cpp @@ -4,6 +4,7 @@ #include "histogram.h" #include "text.h" #include "svg.h" +#include using namespace std; @@ -37,6 +38,7 @@ input_data(istream& in, bool prompt) int main() { + 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);