From 10d695ba6dd4f5db70299d4e072f0582d5f8037d Mon Sep 17 00:00:00 2001 From: BiriukovaAlS Date: Sat, 3 Jun 2023 21:55:15 +0300 Subject: [PATCH] =?UTF-8?q?curl=20=D0=B8=20=D0=B4=D0=B8=D0=BD=D0=B0=D0=BC?= =?UTF-8?q?=D0=B8=D1=87=D0=B5=D1=81=D0=BA=D0=B8=D0=B5=20=D0=B1=D0=B8=D0=B1?= =?UTF-8?q?=D0=BB=D0=B8=D0=BE=D1=82=D0=B5=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 6 ++++++ main.cpp | 4 ++++ 2 files changed, 10 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b5e5a69 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +/bin +/obj +/lab3344.layout +/lab3344.depend +/unittest.depend +/curl diff --git a/main.cpp b/main.cpp index bfdebda..471b4dc 100644 --- a/main.cpp +++ b/main.cpp @@ -4,6 +4,8 @@ #include "histogram.h" #include "text.h" #include "svg.h" +#include + using namespace std; @@ -41,6 +43,8 @@ input_data(istream& in, bool promt) int main() { + curl_global_init(CURL_GLOBAL_ALL); + size_t number_count; auto in = input_data(cin,true); auto B = make_histogram(in.numbers, in.kol_kor);