From 0fcdf53cc3973cc19bd3d7068265248d0e226073 Mon Sep 17 00:00:00 2001 From: "Igor (ZharkovIG)" Date: Sat, 26 Oct 2024 15:47:19 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=20argc=20=D0=B8?= =?UTF-8?q?=20argv?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/main.cpp b/main.cpp index f6a5de1..abb657b 100644 --- a/main.cpp +++ b/main.cpp @@ -33,6 +33,12 @@ int main(int argc, char* argv[]) { curl_global_init(CURL_GLOBAL_ALL); + if (argc > 1) { + cout << "argc = " << argc << endl; + for (int i = 0; i < argc; i++){ + cout << "argv[" << i << "] = " << argv[i] << endl; + } + } auto in = input_data(cin, false); auto bins = make_histogram(in.numbers, in.bin_count); show_histogram_svg(bins);