Re: Moving from C++ to VC++
- From: "Carl Daniel [VC++ MVP]" <cpdaniel_remove_this_and_nospam@xxxxxxxxxxxxxxx>
- Date: Sat, 4 Jun 2005 18:12:11 -0700
Victor Bazarov wrote:
> Severian [MVP] wrote:
>> [...]
>> For example, DWORD translates to 'unsigned long', which is a 32-bit
>> integer on all Win32/Win64 platforms.
>
> 'long' is 32 bits on a 64-bit platform? Wow... No, really? I am
> blown away, honestly.
On 64 bit Windows, yes. Many 64-bit *nix's chose to make long be 64 bits.
This decision was based on a survey of several million lines of code that
revealed that a great deal more code would be broken by chanigng long to 64
bits than would benefit from the change.
-cd
.
- Follow-Ups:
- Re: Moving from C++ to VC++
- From: Hendrik Schober
- Re: Moving from C++ to VC++
- From: andré m.a
- Re: Moving from C++ to VC++
- References:
- Moving from C++ to VC++
- From: NoName
- Re: Moving from C++ to VC++
- From: Severian [MVP]
- Re: Moving from C++ to VC++
- From: Victor Bazarov
- Moving from C++ to VC++
- Prev by Date: Re: Moving from C++ to VC++
- Next by Date: Re: Moving from C++ to VC++
- Previous by thread: Re: Moving from C++ to VC++
- Next by thread: Re: Moving from C++ to VC++
- Index(es):
Relevant Pages
|