We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in example/lib/main.cpp file line 27 get_random_seed() function:
example/lib/main.cpp
line 27
get_random_seed()
if use msvc compiler, may be also can use random_device()() function to get a true random seed, just like use it in linux
msvc
random_device()()
int get_random_seed() { #if defined(_MSC_VER) || defined (__linux__) return random_device()(); #else return rand(); #endif }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
in
example/lib/main.cpp
fileline 27
get_random_seed()
function:if use
msvc
compiler, may be also can userandom_device()()
function to get a true random seed, just like use it in linuxThe text was updated successfully, but these errors were encountered: