From eafc393d4cbe00621688e2ba278d177263a79563 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=B0=D1=88=D0=B5=20=D0=98=D0=BC=D1=8F?= Date: Sat, 3 Jun 2023 19:23:03 +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=BD=D0=B0=20=D0=B1=D0=B8=D0=B1=D0=BB=D0=B8?= =?UTF-8?q?=D0=BE=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 + cs-lab34.cbp | 5 +++++ main.cpp | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 388d165..bad7699 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /cs-lab34 /start /main.o +/curl diff --git a/cs-lab34.cbp b/cs-lab34.cbp index 9a549a7..60f5f38 100644 --- a/cs-lab34.cbp +++ b/cs-lab34.cbp @@ -31,7 +31,12 @@ + + + + + diff --git a/main.cpp b/main.cpp index 95c00d7..6143c96 100755 --- a/main.cpp +++ b/main.cpp @@ -53,7 +53,7 @@ input_data(istream& in, bool prompt) { int main() { - //curl_global_init(CURL_GLOBAL_ALL); + curl_global_init(CURL_GLOBAL_ALL); auto in = input_data(cin, true); //input data auto bins = make_histogram(in.numbers, in.bin_count); //calculating bin size for the histogram show_histogram_svg(bins, in.interval_task); //histogram output in the format svg code