is it possible to randomize hex numbers, much the same way rand()/srand() randomize decimal? I assume if its possible, you would use rand()/srand(), but not sure. Thanks in advance.
This is a discussion on randomize hex digits within the C Programming forums, part of the General Programming Boards category; is it possible to randomize hex numbers, much the same way rand()/srand() randomize decimal? I assume if its possible, you ...
is it possible to randomize hex numbers, much the same way rand()/srand() randomize decimal? I assume if its possible, you would use rand()/srand(), but not sure. Thanks in advance.
wazilian
King of Wazil
The base of a number is merely for viewing purposes, it is all 0's and 1's underneath it all.
Why don't you randomize an integer, then convert to decimal.
Or I didn't understand the question.
none...