hex - Understanding the meaning of this c++ line -


what purpose of 0xff?

#define infinity2        0xff  

i need understand how line works.

what 0xff do?

0xff hex representation of 255. defining macro/constant named infinity2 has value of 255.


Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -