C++ Utilities
4.17.0
Useful C++ classes and routines such as argument parser, IO and conversion utilities
|
#include "./random.h"
#include <cassert>
#include <cmath>
#include <cstdlib>
#include <iomanip>
#include <sstream>
#include <string>
Go to the source code of this file.
Namespaces | |
RandomUtilities | |
Contains utility functions for generating random character sequences. | |
Functions | |
CPP_UTILITIES_EXPORT void | RandomUtilities::generateRandomCharacterSequence (char *result, unsigned int length, std::function< int()> randomizer, int highestRandomNumber, bool useSmallLetters, bool useCapitalLetters, bool useNumbers, bool useSymbols, bool useAtLeastOneOfEachCategory) |
Generates a random character sequence using the given randomizer. More... | |
CPP_UTILITIES_EXPORT void | RandomUtilities::generateRandomCharacterSequence (char *result, unsigned int length, bool useSmallLetters, bool useCapitalLetters, bool useNumbers, bool useSymbols, bool useAtLeastOneOfEachCategory) |
Generates a random character sequence using std::rand(). More... | |