From 2bcab524e075c399d1612de2c6885ace8503eca4 Mon Sep 17 00:00:00 2001 From: IshutinaYI Date: Mon, 5 Jun 2023 10:00:47 +0300 Subject: [PATCH] =?UTF-8?q?build:=20=D0=A1=D0=BE=D0=B1=D1=80=D0=B0=D0=BD?= =?UTF-8?q?=D0=BE=20=D0=B4=D0=B8=D0=BD=D0=B0=D0=BC=D0=B8=D1=87=D0=B5=D1=81?= =?UTF-8?q?=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fin_lab34.cbp | 17 +++++++++++++++++ fin_lab34.cpp | 5 ++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/fin_lab34.cbp b/fin_lab34.cbp index 2b3d25a..b30f2e7 100644 --- a/fin_lab34.cbp +++ b/fin_lab34.cbp @@ -14,6 +14,11 @@ + + + + + + + + + + + + + + diff --git a/fin_lab34.cpp b/fin_lab34.cpp index d17181d..5a36c8a 100644 --- a/fin_lab34.cpp +++ b/fin_lab34.cpp @@ -3,9 +3,11 @@ #include #include #include +#include #include "histogram.h" #include "text.h" #include "svg.h" + const size_t WINDOW_WIDTH = 80; const size_t MAX_VALUE = WINDOW_WIDTH - 3 - 1; using namespace std; @@ -34,7 +36,8 @@ input_data(istream &thread, bool &prompt){ int main(){ - double min = 0, max = 0; + curl_global_init(CURL_GLOBAL_ALL); + //CURLcode curl_global_init(CURL_GLOBAL_ALL); size_t font = 0; bool prompt = false; auto in = input_data(cin, prompt);