From e0876930cad2355c9fde21f412b7ba8f69a002f6 Mon Sep 17 00:00:00 2001 From: AkinshinaDA Date: Thu, 17 Apr 2025 17:15:49 +0300 Subject: [PATCH] =?UTF-8?q?Code:=20=D0=9F=D0=BE=D0=BB=D1=83=D1=87=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=B0=D1=80=D0=B3=D1=83=D0=BC=D0=B5=D0=BD?= =?UTF-8?q?=D1=82=D0=BE=D0=B2=20=D0=BF=D1=80=D0=BE=D0=B3=D1=80=D0=B0=D0=BC?= =?UTF-8?q?=D0=BC=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 5cd9e15..b12130b 100644 --- a/main.cpp +++ b/main.cpp @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include "histogram.h" #include "text.h" #include "svg.h" @@ -35,7 +35,14 @@ input_data(istream& in, bool prompt){ in >> input.bin_count; return input; } -int main(){ +int main(int argc, char* argv[]){ + if (argc>1){ + for (size_t i =0; i