From 39ec4a684706e22bad41ba691674cfc48ca5cc8e Mon Sep 17 00:00:00 2001 From: ShestovDN Date: Wed, 7 Jun 2023 12:17:29 +0300 Subject: [PATCH] =?UTF-8?q?arg=20=D0=B8=20argv?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 1e3e560..a825e74 100644 --- a/main.cpp +++ b/main.cpp @@ -50,9 +50,13 @@ return in; -int main() +int main(int arg, char* argv[]) { - curl_global_init(CURL_GLOBAL_ALL); + if (arg > 1) + { + cout<