From 6ed88b0a9e3185477fb081f3bc629e18fe903bcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=BB=D1=8C=D1=8F=20=D0=91=D0=BE=D0=B3=D0=B4=D0=B0?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2?= Date: Wed, 22 Dec 2021 10:32:12 +0000 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=BC=D0=B5=D1=87=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D1=8F=20=D0=BF=D0=BE=20Functions.h?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Part 2/Functions.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Part 2/Functions.h b/Part 2/Functions.h index eac1c9f..480447e 100644 --- a/Part 2/Functions.h +++ b/Part 2/Functions.h @@ -94,6 +94,8 @@ void Replace_Account(int accNum, const BAccount& acc, const std::string& bFilePa void Search_by_Number(const int num, const std::string& mainBPath, const std::string& newBPath) { + //!!! По заданию нужно использовать алгоритмы + std::map map; Create_Map(map, mainBPath); std::vector res; @@ -113,6 +115,8 @@ void Search_by_Number(const int num, const std::string& mainBPath, const std::st void Search_by_Code(const long AccCode, const std::string& mainBPath, const std::string& newBPath) { + //!!! По заданию нужно использовать алгоритмы + std::map map; Create_Map(map, mainBPath); std::vector res; @@ -132,6 +136,8 @@ void Search_by_Code(const long AccCode, const std::string& mainBPath, const std: void Search_by_Surname(const std::string& surn, const std::string& mainBPath, const std::string& newBPath) { + //!!! По заданию нужно использовать алгоритмы + std::map map; Create_Map(map, mainBPath); std::vector res; -- GitLab