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.
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.
You could find it here if you avoid the range and check if your number is not repeated: