|
From: <eri...@so...> - 2001-02-08 08:44:37
|
you should intialize random number with
#include <time.h>
.
.
.
srand( time (0) );
messpool = rand() %12;
By the way, if you need a number between x and y you need to write:
myuNumber = x + rand() % y;
Hope it helps you
EVB
|