Re: bit manipulation..newbie doubt
- From: roberson@xxxxxxxxxxxxxxxxxx (Walter Roberson)
- Date: Sun, 3 Feb 2008 06:03:53 +0000 (UTC)
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
.
- References:
- bit manipulation..newbie doubt
- From: vaneric001
- Re: bit manipulation..newbie doubt
- From: Walter Roberson
- Re: bit manipulation..newbie doubt
- From: MisterE
- bit manipulation..newbie doubt
- Prev by Date: Re: When to check the return value of malloc
- Next by Date: Re: xmalloc string functions
- Previous by thread: Re: bit manipulation..newbie doubt
- Next by thread: Re: When to check the return value of malloc
- Index(es):