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

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

javascript - Blogger related post gadget image Resize s72-c [ Need Expert Help ] -