From 0f4226f2d119b9148c97b476aa6cf3a55534b5cc Mon Sep 17 00:00:00 2001 From: FilippovaYI Date: Sat, 25 May 2024 21:43:27 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D1=83=D1=81=D1=82=D0=B0=D0=BD=D0=BE?= =?UTF-8?q?=D0=B2=D0=BA=D0=B0=20=D0=B4=D0=B8=D0=BD=D0=B0=D0=BC=D0=B8=D1=87?= =?UTF-8?q?=D0=B5=D1=81=D0=BA=D0=B8=D1=85=20=D0=B1=D0=B8=D0=B1=D0=BB=D0=B8?= =?UTF-8?q?=D0=BE=D1=82=D0=B5=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lab01.cbp | 16 ++++++++++++++++ main.cpp | 2 ++ 2 files changed, 18 insertions(+) diff --git a/lab01.cbp b/lab01.cbp index d541ad7..833fc02 100644 --- a/lab01.cbp +++ b/lab01.cbp @@ -32,7 +32,23 @@ + + + + + + + + + + + + diff --git a/main.cpp b/main.cpp index 2a73639..f4b6d75 100644 --- a/main.cpp +++ b/main.cpp @@ -1,5 +1,6 @@ #include #include +#include #include "histogram.h" #include "text.h" #include "svg.h" @@ -45,6 +46,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);