From 5695a02f9381070119ea2287de39c0b411230d19 Mon Sep 17 00:00:00 2001 From: Danila Date: Sat, 3 Jun 2023 22:14:57 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D1=81=D0=B4=D0=B5=D0=BB=D0=B0=D0=BB=20?= =?UTF-8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20=D0=B2=20=D0=B2=D1=8B?= =?UTF-8?q?=D0=B2=D0=BE=D0=B4=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/main.cpp | 2 +- project/pr3.cbp | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/project/main.cpp b/project/main.cpp index e559e85..612e3bf 100644 --- a/project/main.cpp +++ b/project/main.cpp @@ -59,7 +59,7 @@ download(const string& address) curl_easy_cleanup(curl); if (res != CURLE_OK) { - cout << curl_easy_strerror; + fprintf(stderr, "curl_easy_perform() failed: %s\n",curl_easy_strerror(res)); exit(1); } } diff --git a/project/pr3.cbp b/project/pr3.cbp index 4542632..0b2fbc5 100644 --- a/project/pr3.cbp +++ b/project/pr3.cbp @@ -31,7 +31,12 @@ + + + + +