How to generate random strings from a set of characters in C

preview_player
Показать описание
Source code can be found here:

===== Support us through our store =====

===== Check out our website =====

===== Check out our Discord server =====
Рекомендации по теме
Комментарии
Автор

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~

AGSfeel
Автор

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?

wizrom