Hello,
I would like to know where the seed from the srand() is stored i.e. in
thread context or global to a process?
Thank you,
-Pandit
William DePalo [MVP VC++] - 18 May 2005 01:59 GMT
> I would like to know where the seed from the srand() is stored i.e. in
> thread context or global to a process?
That depends on which version of the library you use. The multi-threaded
library stores it in the "per-thread" data structure.
Regards,
Will