From 959fc94046b903cb7b1608ad793d23031b0c594f Mon Sep 17 00:00:00 2001 From: ShevchukDS Date: Thu, 3 Jul 2025 02:18:56 +0300 Subject: [PATCH] =?UTF-8?q?=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 --- .gitignore | 1 + main.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index d85abef..fd14029 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +/curl /bin /obj /*.layout diff --git a/main.cpp b/main.cpp index f6de8cf..9147e3f 100644 --- a/main.cpp +++ b/main.cpp @@ -3,6 +3,7 @@ #include "histogram.h" #include "text.h" #include "svg.h" +#include using namespace std; struct Input { @@ -33,6 +34,7 @@ Input 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);