so I'm wanting to make an autoclicker, how would I make it so the sleep function is randomised from any number, to another
from example, every click it will sleep for (200 - 300) for example
#include <random>
std::random_device rd; // only used once to initialise (seed) engine
std::mt19937 rng(rd()); // random-number engine used (Mersenne-Twister in this case)
std::uniform_int_distribution<int> uni(200,300);
// Then, each time you want to sleep
sleep(uni(rng);)