From f5423a8eb087551c2655204cb0723543046c2c05 Mon Sep 17 00:00:00 2001 From: Andrew Date: Thu, 1 Jun 2023 16:09:22 +0300 Subject: [PATCH] Refactor, improved readability --- .idea/misc.xml | 8 + .idea/modules.xml | 8 - CMakeLists.txt | 27 +-- cli.cpp | 44 +++++ header.h | 76 ++++++++ key.cpp | 68 +++++++ main.cpp | 83 +++++++++ server_algorithm.cpp | 95 +++++----- shared.cpp | 102 ---------- shared.h | 54 ------ util.cpp | 14 ++ xp_algorithm.cpp | 433 ++++++++++++++++++++----------------------- 12 files changed, 548 insertions(+), 464 deletions(-) delete mode 100644 .idea/modules.xml create mode 100644 cli.cpp create mode 100644 header.h create mode 100644 key.cpp create mode 100644 main.cpp delete mode 100644 shared.cpp delete mode 100644 shared.h create mode 100644 util.cpp diff --git a/.idea/misc.xml b/.idea/misc.xml index be0f224..0ee1767 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,5 +1,13 @@ + + + + + + + +