posted 13 years ago
Hey guys,
I have a question about the switch construction. In the book it's written that the case constant must be a compile time constant and thus i have a question to this code:
And it works but I think that b+ 2*b is not a compile time constant. What do you think? On the other hand this code doesn't work:
Why it's like this?
Cheers,
Jan.