From 3951d00019e1179258538645cd4267f3fb70130d Mon Sep 17 00:00:00 2001 From: KonovalovaAA Date: Mon, 22 May 2023 16:01: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=20main?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1.depend | 2 +- main.cpp | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/1.depend b/1.depend index 0a3be5b..7da995a 100644 --- a/1.depend +++ b/1.depend @@ -20,7 +20,7 @@ -1684756464 source:c:\users\79156\desktop\3\main.cpp +1684760047 source:c:\users\79156\desktop\3\main.cpp diff --git a/main.cpp b/main.cpp index 6bf7340..456a06e 100644 --- a/main.cpp +++ b/main.cpp @@ -52,8 +52,13 @@ input_data(istream& tin, bool prompt) -int main() +int main(int argc, char* argv[]) { + if(argc>1){ + for(size_t i = 0; i < argc; i++) + cerr << "argv["<