Just wanted to ask some questions about random number generators in C++, specifically those using the functions:
initstate(), setstate(), srandom() and random().
Can anyone explain what exactly does the char *state in both initstate and setstate do? I have tried altering the values of state when I call initstate but the the output remains the same. I thought, from the man pages, that state points to an array used by the random number generator and hence should effect it quite significantly.
Thanks for your time.