From 7337899bfcf93b1abf26f8402d3e408f70c879e2 Mon Sep 17 00:00:00 2001 From: Danila Date: Sat, 3 Jun 2023 15:15:16 +0300 Subject: [PATCH] =?UTF-8?q?biblio:=20=D1=83=D1=81=D1=82=D0=B0=D0=BD=D0=BE?= =?UTF-8?q?=D0=B2=D0=B8=D0=BB=20libcurl.dll?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/.gitignore | 1 + project/main.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/project/.gitignore b/project/.gitignore index c20a886..5f3d8dd 100644 --- a/project/.gitignore +++ b/project/.gitignore @@ -2,3 +2,4 @@ /bin /pr3.depend /pr3.layout +/curl \ No newline at end of file diff --git a/project/main.cpp b/project/main.cpp index 17bda3f..83f3ab5 100644 --- a/project/main.cpp +++ b/project/main.cpp @@ -4,6 +4,7 @@ #include "histogram.h" #include "text.h" #include "svg.h" +#include using namespace std; struct Input @@ -37,6 +38,7 @@ input_data(istream& in, bool promt) 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);