Before anyone hazes me for not checking the FAQ I did and didnt see anything related to the question.
2 quick questions about rand()
is,
rand () % 10 + 1 the same thing as rand() % 11
and can you use hex numbers. ex:
rand () % 2 + 1f
thanks
Before anyone hazes me for not checking the FAQ I did and didnt see anything related to the question.
2 quick questions about rand()
is,
rand () % 10 + 1 the same thing as rand() % 11
and can you use hex numbers. ex:
rand () % 2 + 1f
thanks