Create and implemented userManager class

This commit is contained in:
2025-05-22 19:33:56 +02:00
parent 6ad501ec50
commit 40d58ab011
6 changed files with 135 additions and 4 deletions

14
src/usermanager.cpp Normal file
View File

@@ -0,0 +1,14 @@
#include "usermanager.h"
std::vector<std::string> splitLogFile(const std::string& input, char delimiter = '|')
{
std::vector<std::string> ret;
std::stringstream ss(input);
std::string token;
while (std::getline(ss, token, delimiter)) {
ret.push_back(token);
}
return ret;
}