Re: bit manipulation..newbie doubt



In article <47a525a9$0$13919$afc38c87@xxxxxxxxxxxxxxxxxxxx>,
MisterE <voids@xxxxxxxxxxxxxxx> wrote:

You seem to have missed the dialog pointing out that you should use
long instead of int.

Is this implementation dependant, or does long have to be 32bit by C
definition and int can be smaller?

long must be *at least* 32 bits in C;
int must be *at least* 16 bits in C.

--
"All is vanity." -- Ecclesiastes
.