12int main(
int argc,
char * argv[]) {
14 SetConsoleOutputCP(CP_UTF8);
17 time_stamp(
"\nSTART : ");
40 catch(
const std::exception& e) { SetColor(BRED);
println(e.what()); SetColor(DEFAULT); }
41 catch( ... ) { SetColor(BRED);
println(
"UNKNOWN ERROR !"); SetColor(DEFAULT);}
49 println(
"Use one of the prepared examples.");
50 println(
"Edit the examples.hpp file and uncomment one of the selected examples.");
51 println(
"Compile and run the program.");
52 println(
"\nIn most cases, it is enough to compile the whole project like this:\n");
53 println(
"g++ -Wall -std=c++20 -pthread -pedantic -O3 main_01.cpp -o main_01.exe");
55 println(
"You can also use the script run-selected-project.bat to run any of the prepared projects/examples.");
57 println(
"You can also use the script run-selected-project.sh to run any of the prepared projects/examples.");
59 using namespace std::chrono_literals;
60 std::this_thread::sleep_for(2000ms);
64 time_stamp(
"\nSTOP : ");
The node class definition. This is a template of a class whose objects are used to build a tree of re...
static void n_counter_info()
The function displays information about the total number of node<X1> objects.
constexpr void println(auto const &a)