Heyloo ^_^
I've stumbled upon this code :D
#define VERSION_MAJOR 1
#define VERSION_MINOR 1
#define VERSION_PATCH 2
#define VERSION ((VERSION_MAJOR << 16) | (VERSION_MINOR << 8) | VERSION_PATCH)
I've been searching for some time now, unable to understand what << 16 and << 8 does, and why.
I converted VERSION to string, handling it as an integer, and printed out the result being 65794, which doesn't contain ANY of the numbers defined as VERSION_***.
Please help me with this wondering :)
Ps. Sorry for lousy thread title, I was unable to come up with a proper title :i
Thanks ;)