wallaceoc80
Programmer
I have an enumerator data type and assign the values as follows:
However, I think there may be a problem with this piece of code.
What is the size of an enumerator? Also, will the lines with 1 << 32; 1 << 33; 1 << 34; 1 << 35 cause problems?
Thanks or your help.
Wallace
Code:
enum manualControlList
{
efirst = 1 << 0,
esecond = 1 << 1,
.......
.......
eThirtyThird = 1 << 34,
eThirtyFourth = 1 << 35,
eLast
};
However, I think there may be a problem with this piece of code.
What is the size of an enumerator? Also, will the lines with 1 << 32; 1 << 33; 1 << 34; 1 << 35 cause problems?
Thanks or your help.
Wallace