The switch(condition) clause is based on an integral value so when you pass a char to the switch it will upcast to an int to make the actual comparison!
Type: Posts; User: hutchid
The switch(condition) clause is based on an integral value so when you pass a char to the switch it will upcast to an int to make the actual comparison!
Your very right, very right indeed, I think it should read 0x80000000! (Of course that would give us -1 the number of bits were looking for.
Again apologies for my typo, I actually meant to...
Hi All!
I've not posted on here before, but I thought I'd start somewhere with a small competition/point of interest!
Anyway, i've always had a nagging for producing an efficient method of...