mardi 23 août 2016

randomize numbers without any std- function

I need help to random numbers without any std-function. how can i do that? I know that i can do it with the random-function like:

v2 = rand() % 36 + 1;

which will randomize numbers between 1-35, but the rand() function belongs to the " (stdlib.h)" std.

Aucun commentaire:

Enregistrer un commentaire