mardi 24 mars 2015

Getting a random number in range larger than RAND_MAX (C)

I know RAND_MAX = 32767, though I need to get a random number in the range [0, 100000000]. Is there a way of getting that using rand() ?


thanks (Using C)





Aucun commentaire:

Enregistrer un commentaire