Skip to content

Ben-Scr/RandomCPP

Repository files navigation

Random Utiltiy Library

A simple C++ random utility library

How to use

  • Including
#include <Random.hpp>
using namespace BenScr;
  • Functionalities
int randInt32 = Random::Next<int>(15, 100);
float randFloat32 = Random::Next<float>(15.f, 100.f);
std::uint8_t randByte = Random::NextByte(0, 256);
bool randBool = Random::NextBool();

Random::SetSeed(5);
Random::RemoveSeed();

About

C++ Random Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages