Sometimes you want to generate a series of random numbers in which no numbers are repeated.
After googling high and low for such a solution, I decided to write one.
Without further ado, here is a C++ function that will return "random" numbers in a sequence in which each individual number is guaranteed to be unique:
// Call this function with: 0
(
Read more... )