From 6cebc2a6ec083e7d32a80e4ef02f0e032f5009b0 Mon Sep 17 00:00:00 2001 From: "Andrew (ShabatovAA)" Date: Sun, 19 May 2024 18:27:06 +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=B4=D0=B8=D0=BD=D0=B0=D0=BC=D0=B8=D1=87?= =?UTF-8?q?=D0=B5=D1=81=D0=BA=D0=B0=D1=8F=20=D0=B1=D0=B8=D0=B1=D0=BB=D0=B8?= =?UTF-8?q?=D0=BE=D1=82=D0=B5=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + main.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index fad670f..b4ebbe3 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /123 /laba.depend /laba.layout +/curl \ No newline at end of file diff --git a/main.cpp b/main.cpp index 532bb1e..030ef82 100644 --- a/main.cpp +++ b/main.cpp @@ -1,3 +1,4 @@ +#include #include #include #include "histogram.h" @@ -47,6 +48,7 @@ Input input_data(istream& in, bool promt) int main() { + curl_global_init(CURL_GLOBAL_ALL); auto in = input_data(cin,false); auto bins = make_histogram(in.numbers, in.bin_count); show_histogram_svg(bins);