qrandomgenerator bounded code example
Example: qrandomgenerator bounded
//example
QRandomGenerator::global()->bounded(10);//10 is excluded 0 is included
QRandomGenerator::global()->bounded(10, 12);//10 is included 12 is excluded
//example
QRandomGenerator::global()->bounded(10);//10 is excluded 0 is included
QRandomGenerator::global()->bounded(10, 12);//10 is included 12 is excluded