#139560 - d3x - Fri Sep 07, 2007 2:37 pm
Greetings all :)
I'm working with HAM and I need to generate a random number, it should be between 1 and 3, so the amount of random is not huge, but I'm new at both C and HAM, and have no clue how to generate a random number. Using rand() does not give me what I want, any way to tune that to my need?
I'm working with HAM and I need to generate a random number, it should be between 1 and 3, so the amount of random is not huge, but I'm new at both C and HAM, and have no clue how to generate a random number. Using rand() does not give me what I want, any way to tune that to my need?