-
Simple Question
Hi all,
I've got some coding experience with C++ building Win32 apps, but I'd like to move into x64. Are there any differences in the code itself or am I right in thinking it's just a question of using a 64 bit compiler? If so, can anyone recommend a good x64 compiler (for windows)?
Thanks :)
-
Re: Simple Question
The new Visual Studio versions can build x64 if you set them up for it.
On Windows, there are few differences. sizeof(void*) is now 8, and long long is a native type. In general, however, you need to make sure not to make as many assumptions as you used to about the size of primitive types; they vary on different 64-bit platforms. "Long" has size 4 on x64 Windows, but size 8 on 64-bit linux, for instance.
-
Re: Simple Question
Okay, that's good to know.
Thanks for the quick response :)