blob: 8ff600f00188c4a25a54bf2986f997f3b26c7fd5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// project headers
#include "random.hpp"
// std libs
#include <cstdlib>
namespace Random
{
int get_value(int min, int max)
{
return (std::rand()%(abs(max - min) + 1) + min);
}
}
|