random numbers

does any one know a library that can help me generate random numbers starting from a seed that can stor larger values than an int for example long long??
u can use
#include<stdlib.h>

the function is rand()

i thibk that is all :D
rand() is all you get on Windows

On Linux you get
int random()
double drand48()

random and drand48 take 8 or more bytes of seed state.

Or you can use Boost, and pick from several very good generators which have even larger seed state.
Topic archived. No new replies allowed.