From 7e88ff33cdd6cf11b1de05e72d37784f72cd1d76 Mon Sep 17 00:00:00 2001 From: SneguraDS Date: Tue, 14 May 2024 21:27:53 +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=D0=B8=D0=B5=20=D0=B0=D1=80=D0=B3=D1=83=D0=BC=D0=B5?= =?UTF-8?q?=D0=BD=D1=82=D0=BE=D0=B2=20=D0=B2=20int=20main?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 762a047..3f88eac 100644 --- a/main.cpp +++ b/main.cpp @@ -1,3 +1,4 @@ +#include #include #include #include "histogram.h" @@ -45,8 +46,16 @@ input_data(istream& cin, bool prompt) { return in; } } -int main() +int main(int argc, char* argv[]) { + + if (argc>1){ + for (size_t i=0; i