nThe functions provided
by C++ are:
nrand() for generating random numbers, and
nsrand() for setting initial random “seed”
values.
nThe srand() function sets the starting point for generating a series of pseudorandom integers.
nIf srand() or some other equivalent “seeding”
techniques is not used, rand() will always produce the same
series of random number.
nThe rand() function produces a series of random numbers in the range of 0£ rand()£
RAND_MAX
nRAND_MAX is defined in the stdlib.h header file.