From 17ecaf48458c1cb9f4b22c60f76797e1fc91d5e8 Mon Sep 17 00:00:00 2001 From: Alexander Date: Sat, 12 Oct 2024 18:33:49 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D1=83=D1=81=D1=82=D0=B0=D0=BD=D0=BE?= =?UTF-8?q?=D0=B2=D0=BA=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=B8=D1=85=20=D0=B1=D0=B8=D0=B1=D0=BB=D0=B8?= =?UTF-8?q?=D0=BE=D1=82=D0=B5=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 +++- lab01.cbp | 5 +++++ main.cpp | 3 +++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index c17d8cc..11b58ea 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,6 @@ /main.exe /main.o /bat -/unittest.depend \ No newline at end of file +/unittest.depend +/unittest.layout +/curl \ No newline at end of file diff --git a/lab01.cbp b/lab01.cbp index 51bcc6e..2eb1da5 100644 --- a/lab01.cbp +++ b/lab01.cbp @@ -31,7 +31,12 @@ + + + + + diff --git a/main.cpp b/main.cpp index 2bd6be5..346218a 100644 --- a/main.cpp +++ b/main.cpp @@ -3,6 +3,8 @@ #include "histogram.h" #include "text.h" #include "svg.h" +#include + using namespace std; @@ -40,6 +42,7 @@ Input input_data(istream& in, 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);