Possible Duplicate:
How does rand() work? Does it have certain tendencies? Is there something better to use?
I'm not sure when the rand() function or similar in any programming language returns a value totally "logical". Because they are not based on time, hours, days or something I wonder how he chooses the number. One could answer me?
Thanks, Bruno Alano.