From c69b174056e353f44098e662ad26e5a636b80526 Mon Sep 17 00:00:00 2001 From: MatusSV Date: Mon, 27 May 2024 09:24:34 +0300 Subject: [PATCH] =?UTF-8?q?lib:=20=D0=BF=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 --- .gitignore | 1 + Lab1.cbp | 13 ++++++++++++- main.cpp | 2 ++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 44d85fd..80ae844 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ bin/ obj/ +curl/ Lab1.depend unittest.depend diff --git a/Lab1.cbp b/Lab1.cbp index b1a3849..b11c4fb 100644 --- a/Lab1.cbp +++ b/Lab1.cbp @@ -30,8 +30,18 @@ - + + + + + + + + + + + @@ -40,6 +50,7 @@ + diff --git a/main.cpp b/main.cpp index faa8412..bd0dc91 100644 --- a/main.cpp +++ b/main.cpp @@ -4,6 +4,7 @@ #include "histogram.h" //#include "text.h" #include "svg.h" +#include using namespace std; @@ -47,6 +48,7 @@ input_data(istream& in_stream,bool prompt) { int main() { + curl_global_init(CURL_GLOBAL_ALL); auto in = input_data(cin,true); vector bins = make_histogram(in.numbers, in.bin_count); //show_histogram_text(bins, in.bin_count);