From be549ef51396af5eef782013493b49734a535885 Mon Sep 17 00:00:00 2001 From: byvs Date: Tue, 21 May 2024 22:42:19 +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=B5=D0=BD=D0=B8=D0=B5=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 d8ae162..3d8e92f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ *.layout *.depend /curl +/.idea diff --git a/main.cpp b/main.cpp index b44b80a..da877f3 100644 --- a/main.cpp +++ b/main.cpp @@ -1,3 +1,4 @@ +#include #include #include #include "histogram.h" @@ -36,6 +37,7 @@ Input input_data(istream& stream, bool prompt) int main() { + curl_global_init(CURL_GLOBAL_ALL); bool prompt = true; auto in = input_data(cin, prompt); auto bins = make_histogram(in.numbers, in.bin_count);