A second batch of code reorganization.

This commit is contained in:
Tomasz Sobczyk
2020-09-07 23:26:38 +02:00
committed by nodchip
parent 832c414b0d
commit 1482e5215a
6 changed files with 96 additions and 150 deletions

View File

@@ -25,20 +25,12 @@
#include <chrono>
#include <random>
#include <regex>
#include <filesystem>
#if defined (_OPENMP)
#include <omp.h>
#endif
#if defined(_MSC_VER)
// The C++ filesystem cannot be used unless it is C++17 or later or MSVC.
// I tried to use windows.h, but with g++ of msys2 I can not get the files in the folder well.
// Use dirent.h because there is no help for it.
#include <filesystem>
#elif defined(__GNUC__)
#include <dirent.h>
#endif
using namespace std;
namespace Learner