System::Random::Next method
Contents
[
Hide
]Random::Next() method
Returns a nonnegative random number less then int32 max value.
virtual int32_t System::Random::Next()
See Also
- Class Random
- Namespace System
- Library Aspose.PUB for C++
Random::Next(int32_t) method
Returns a nonnegative random number less than the specified maximum.
virtual int32_t System::Random::Next(int32_t maxValue)
Parameter | Type | Description |
---|---|---|
maxValue | int32_t | Values generated by the method will be less than this value |
See Also
- Class Random
- Namespace System
- Library Aspose.PUB for C++
Random::Next(int32_t, int32_t) method
Returns a random number within the specified range.
virtual int32_t System::Random::Next(int32_t minValue, int32_t maxValue)
Parameter | Type | Description |
---|---|---|
minValue | int32_t | Values generated by the method will be greater than this value |
maxValue | int32_t | Values generated by the method will be less than this value |
See Also
- Class Random
- Namespace System
- Library Aspose.PUB for C++