what does srand( time(NULL)) do here? As I see it's not taken as a parameter to the function (_1 and _2), plz explain~
@CodeVault Жыл бұрын
I explain it in this video: code-vault.net/lesson/9p823km0sm:1603733520459 And also in the previous video regarding random strings: code-vault.net/lesson/fc94674ac35b48369c08eb6283003b0a
@attituderecord7589 Жыл бұрын
Thank you
@wizrom3046 Жыл бұрын
I've been enjoying the random generator vids. Maybe you could do a vid on how to generate a random(5) or random(3) without the bias error inherent in the basic modulus approach? Or maybe something on coding up a simple LCRNG using a 2bit XOR?