mardi 15 décembre 2020

How to generate four independent nonrepeatable random int32s in C++?

Normally people use the computer's clock. For example:

int timeSec = time(0)

But I need 4 independent non-repeatable ints, generated pretty much simulateously.




Aucun commentaire:

Enregistrer un commentaire