#pragma once #include <random> int random_int_number(int min, int max); double random_double_number(double min, double max);
#include "random_number.hpp" std::random_device r; std::default_random_engine rnd(r()); int random_int_number(int min, int max) { return std::uniform_int_distribution<int>(min, max)(rnd); } double random_double_number(double min, double max) { return std::uniform_real_distribution<double>(min, max)(rnd); }