From ae736614f5e9ce122ee4f39c765e96ef3400ad26 Mon Sep 17 00:00:00 2001 From: "Ilya (OgarkovIA)" Date: Sun, 27 Oct 2024 15:40:49 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D1=80=D0=B5=D0=B0=D0=BB=D0=B8=D0=B7?= =?UTF-8?q?=D0=BE=D0=B2=D0=B0=D0=BD=20curl=5Fglobal=5Finit=20=D0=B2=20?= =?UTF-8?q?=D0=BA=D0=BE=D0=B4=D0=B5=20=D0=B8=20=D0=B8=D1=81=D0=BF=D1=80?= =?UTF-8?q?=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D1=8B=20=D0=BE=D1=88=D0=B8=D0=B1?= =?UTF-8?q?=D0=BA=D0=B8=20=D1=81=20=D0=B7=D0=B0=D0=BF=D1=83=D1=81=D0=BA?= =?UTF-8?q?=D0=BE=D0=BC=20.exe=20=D1=84=D0=B0=D0=B9=D0=BB=D0=B0=20=D0=B8?= =?UTF-8?q?=D0=B7=20bin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + cs-lab34.layout | 4 ++-- main.cpp | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index b1a39b1..8146e76 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ cs-lab34.cbp cs-lab34.depend +cs-lab34.layout unittest.cbp Untitled1.c /bin diff --git a/cs-lab34.layout b/cs-lab34.layout index 423caf5..9b52a44 100644 --- a/cs-lab34.layout +++ b/cs-lab34.layout @@ -2,9 +2,9 @@ - + - + diff --git a/main.cpp b/main.cpp index b004b49..daaac3e 100644 --- a/main.cpp +++ b/main.cpp @@ -1,5 +1,6 @@ #include #include +#include #include "histogram.h" #include "text.h" #include "svg.h" @@ -54,6 +55,8 @@ input_data(istream& cin, bool prompt) { int main(){ + curl_global_init(CURL_GLOBAL_ALL); + bool res = false; auto in = input_data(cin, true);