I need to generate a file of unordered random numbers with C to test sort functions. Currently, with the `srand()' and `rand()' functions, I always get a set of numbers that is in increasing order. So ...
Even though rand() may be a good enough random number generator for making a video game, the patterns of random bits it spits out may not be sufficient for applications requiring truly random data.
On Unix systems, random numbers are generated in a number of ways and random data can serve many purposes. From simple commands to fairly complex processes, the question “How random is random?” is ...