From 5d0ada167374690b86ce1e115aaad9c44e3c2c0d Mon Sep 17 00:00:00 2001 From: IvanovDA Date: Mon, 13 May 2024 15:20:16 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B2=D1=81=D0=B5=D1=85=20=D0=B1?= =?UTF-8?q?=D0=B8=D0=B1=D0=BB=D0=B8=D0=BE=D1=82=D0=B5=D0=BA=20curl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cs-project3.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cs-project3.cpp b/cs-project3.cpp index 9ceface..a69a61f 100644 --- a/cs-project3.cpp +++ b/cs-project3.cpp @@ -4,6 +4,8 @@ #include "text.h" #include "histogram_internal.h" #include "svg.h" +#include + using namespace std; @@ -31,7 +33,9 @@ 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_svg(bins); return 0;