From b1e4d276c8d982445277def52034d536f3fe8787 Mon Sep 17 00:00:00 2001 From: LykovaYA Date: Thu, 21 Nov 2024 21:43:05 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20curl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lab34.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lab34.cpp b/lab34.cpp index 1085a65..0f095cb 100644 --- a/lab34.cpp +++ b/lab34.cpp @@ -4,6 +4,7 @@ #include "text.h" #include "histogram_internal.h" #include "svg.h" +#include using namespace std; @@ -30,9 +31,10 @@ input_data(istream& inn, bool promt) { } int main() { - Input in = input_data(cin); + curl_global_init(CURL_GLOBAL_ALL); + bool promt = true; + Input in = input_data(cin, promt); auto bins = make_histogram(in.numbers, in.bin_count); - show_histogram_text(bins); show_histogram_svg(bins); return 0; } \ No newline at end of file