Hi All,
Sorry if I am calling expert's advice on such a simple thing. I am reading
a c++ code but do not understand what this means?
#define DM_ITEMS 6
#define FM_ITEMS ( 1 << (DM_ITEMS - 1) )
when I look at the value of FM_ITEMS in my debug log it is 32.
How in the heven it comes up with that number?
It will be really nice to get a handle on this puzzle.
Thanks you in advance.
J.
Sorry if I am calling expert's advice on such a simple thing. I am reading
a c++ code but do not understand what this means?
#define DM_ITEMS 6
#define FM_ITEMS ( 1 << (DM_ITEMS - 1) )
when I look at the value of FM_ITEMS in my debug log it is 32.
How in the heven it comes up with that number?
It will be really nice to get a handle on this puzzle.
Thanks you in advance.
J.
Comment