|
-
February 19th, 2010, 06:46 AM
#1
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
-
February 19th, 2010, 07:01 AM
#2
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.
-
February 19th, 2010, 07:05 AM
#3
Re: Simple Question
Okay, that's good to know.
Thanks for the quick response
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|