Implement data log

This commit is contained in:
jomjol
2022-10-19 22:08:02 +02:00
parent 3be33820d9
commit 8d4fb74173
5 changed files with 69 additions and 60 deletions

View File

@@ -154,6 +154,13 @@ void FindReplace(std::string& line, std::string& oldString, std::string& newStri
}
}
void MakeDir(std::string _what)
{
// chdir(_where.c_str());
if (mkdir(_what.c_str(), S_IRWXU|S_IRWXG|S_IROTH))
printf("Problem with MakeDir: %s \n", _what.c_str());
}