Hi all,

When generating pseudorandom numbers using the ISO C library stdlib.h (the classical sequence):

I need to know what effectively happens. As far as I know, the system calculates a pseudorandom number using a given equation, envolving the RAND_MAX value, defined at the same stdlib.h library.Code:srand(mySeed); int myRandomValue = rand();

That is important to me because I intend to use the same code on different platforms (including the well-known MinGW @ i386), soI expect to get the same random numbers on different enviroments.

Any clue?