Commit 6ed88b0a authored by Илья Богданов's avatar Илья Богданов
Browse files

Замечания по Functions.h

parent b17d8670
No related merge requests found
Showing with 6 additions and 0 deletions
+6 -0
...@@ -94,6 +94,8 @@ void Replace_Account(int accNum, const BAccount& acc, const std::string& bFilePa ...@@ -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) void Search_by_Number(const int num, const std::string& mainBPath, const std::string& newBPath)
{ {
//!!! По заданию нужно использовать алгоритмы
std::map<int, BAccount> map; std::map<int, BAccount> map;
Create_Map(map, mainBPath); Create_Map(map, mainBPath);
std::vector<BAccount> res; std::vector<BAccount> res;
...@@ -113,6 +115,8 @@ void Search_by_Number(const int num, const std::string& mainBPath, const std::st ...@@ -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) void Search_by_Code(const long AccCode, const std::string& mainBPath, const std::string& newBPath)
{ {
//!!! По заданию нужно использовать алгоритмы
std::map<int, BAccount> map; std::map<int, BAccount> map;
Create_Map(map, mainBPath); Create_Map(map, mainBPath);
std::vector<BAccount> res; std::vector<BAccount> res;
...@@ -132,6 +136,8 @@ void Search_by_Code(const long AccCode, const std::string& mainBPath, const std: ...@@ -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) void Search_by_Surname(const std::string& surn, const std::string& mainBPath, const std::string& newBPath)
{ {
//!!! По заданию нужно использовать алгоритмы
std::map<int, BAccount> map; std::map<int, BAccount> map;
Create_Map(map, mainBPath); Create_Map(map, mainBPath);
std::vector<BAccount> res; std::vector<BAccount> res;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment