From aa8043a37faeb7f7bc41ada45ee1fd784766ec3c Mon Sep 17 00:00:00 2001 From: VeretennikovMA Date: Sun, 26 May 2024 20:58:23 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=9F=D0=BE=D0=B4=D0=BA=D0=BB=D1=8E?= =?UTF-8?q?=D1=87=D0=B5=D0=BD=D0=B0=20=D0=B1=D0=B8=D0=B1=D0=BB=D0=B8=D0=BE?= =?UTF-8?q?=D1=82=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, 3 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 23c419b..f525514 100644 --- a/main.cpp +++ b/main.cpp @@ -4,6 +4,7 @@ #include "text.h" #include "svg.h" #include +#include using namespace std; @@ -43,7 +44,8 @@ input_data(istream& Newcin){ int main() { -auto in = input_data(cin); + curl_global_init(CURL_GLOBAL_ALL); + auto in = input_data(cin); auto bins = make_histogram(in.numbers, in.bin_count); show_histogram_svg(bins, in.stroke, in.fill); }