转自http://coolshell.cn/articles/3512.html

http://www.viva64.com/en/l/上例出了28个在64位平台上使用C/C++开发的注意事项,对于进入64位时代的程序员应该去看看这28个事项, 相信对大家一点有帮助。

    • Lesson 01. What 64-bit systems are.
    • Lesson 02. Support of 32-bit applications.
    • Lesson 03. Porting code to 64-bit systems. The pros and cons.
    • Lesson 04. Creating the 64-bit configuration.
    • Lesson 05. Building a 64-bit application.
    • Lesson 06. Errors in 64-bit code.
    • Lesson 07. The issues of detecting 64-bit errors.
    • Lesson 08. Static analysis for detecting 64-bit errors.
    • Lesson 09. Pattern 01. Magic numbers.
    • Lesson 10. Pattern 02. Functions with variable number of arguments.
    • Lesson 11. Pattern 03. Shift operations.
    • Lesson 12. Pattern 04. Virtual functions.
    • Lesson 13. Pattern 05. Address arithmetic.
    • Lesson 14. Pattern 06. Changing an array’s type.
    • Lesson 15. Pattern 07. Pointer packing.
    • Lesson 16. Pattern 08. Memsize-types in unions.
    • Lesson 17. Pattern 09. Mixed arithmetic.
    • Lesson 18. Pattern 10. Storage of integer values in double.
    • Lesson 19. Pattern 11. Serialization and data interchange.
    • Lesson 20. Pattern 12. Exceptions.
    • Lesson 21. Pattern 13. Data alignment.
    • Lesson 22. Pattern 14. Overloaded functions.
    • Lesson 23. Pattern 15. Growth of structures’ sizes.
    • Lesson 24. Phantom errors.
    • Lesson 25. Working with patterns of 64-bit errors in practice.
    • Lesson 26. Optimization of 64-bit programs.
    • Lesson 27. Peculiarities of creating installers for a 64-bit environment.
    • Lesson 28. Estimating the cost of 64-bit migration of C/C++ applications.

http://www.cppblog.com/weiym/archive/2013/06/05/200819.html

64位平台C/C++开发注意事项(转载)的更多相关文章

  1. 64位平台C/C++开发注意事项

    在http://www.viva64.com/en/l/上例出了28个在64位平台上使用C/C++开发的注意事项,对于进入64位时代的程序员应该去看看这28个事项,这些英文读物对于有C/C++功底的朋 ...

  2. 64位平台C/C++容易犯的错误

     64位平台的介绍 IA-64 is a 64-bit microprocessor architecture developed by Intel and Hewlett Packard compa ...

  3. 手把手教你写Windows 64位平台调试器

    本文网页排版有些差,已上传了doc,可以下载阅读.本文中的所有代码已打包,下载地址在此. ------------------------------------------------------- ...

  4. win7 64位平台编译的程序在XP 32位平台无法运行的解决方法

    win7 64位平台编译的程序在XP 32位平台无法运行的解决方法 vs2010的开发环境,制作了一个DLL库.但DLL在XP 32位平台一直无法使用.解决方法如下: 右键项目,属性->配置属性 ...

  5. SWMM代码移植到64位平台

    在32位平台上运行SWMM模型,当节点数量到达60万以上的时候,模型运行占用内存接近1.85G的时候就会因为内存不够而无法计算.这种情况还是单独运行SWMM.exe的时候出现,如果采用SWMM.DLL ...

  6. 64位平台支持大于2 GB大小的数组

    64位平台支持大于2 GB大小的数组 64位平台.NET Framework数组限制不能超过2GB大小.这种限制对于需要使用到大型矩阵和向量计算的工作人员来说,是一个非常大问题. 无论RAM容量有多大 ...

  7. NET Framework 4.5新特性 (三)64位平台支持大于2 GB大小的数组

    64位平台.NET Framework数组限制不能超过2GB大小.这种限制对于需要使用到大型矩阵和向量计算的工作人员来说,是一个非常大问题. 无论RAM容量有多大有多少,一旦你使用大型矩阵和向量计算工 ...

  8. 64位Linux安装android开发IDE的全过程

    首先特别感谢这个链接: http://www.androiddevtools.cn/ 提供了几乎所有的安卓开发需要用到的资源. 操作系统:CentOS 7. 一.android studio 这个折腾 ...

  9. 关于64位Linux配置android开发环境出现 No such file or directory

    前几天在64位系统上部署android开发环境的时候出现了这种问题 /aapt: No such file or directory 通过谷老师,知道原理android SDK里面的程序全是32位的, ...

随机推荐

  1. <一>初探js特效魅力之选项卡05

    初探js特效魅力05 接下来为大家介绍的选项卡的切换 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN&quo ...

  2. mvc系统过滤器

    一.系统过滤器使用说明 1.OutputCache过滤器 OutputCache过滤器用于缓存你查询结果,这样可以提高用户体验,也可以减少查询次数.它有以下属性: Duration:缓存的时间,以秒为 ...

  3. IE 文档模型设置 免去你IE 按F12去调文档标准的烦恼。

    英文原文:http://msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx 最近在做一个前端页面,在各种浏览器上,各种差异,各种无赖.各种郁闷. ...

  4. 了解SVG

    页的节点类型,我们将说明怎样通过Illustrator高速的把SVG文档加入到网页中.我们还会讲讲D3.js,一个强大的.SVG控制的JavaScript库. "SVG并不仅仅用于像素处理. ...

  5. C# 自己定义 implicit和explicit转换

    explicit 和 implicit 属于转换运算符,如用这两者能够让我们自己定义的类型支持相互交换explicti 表示显式转换.如从 A -> B 必须进行强制类型转换(B = (B)A) ...

  6. [RxJS] Creation operators: interval and timer

    It is quite common to need an Observable that ticks periodically, for instance every second or every ...

  7. C++ int转string

    一.使用atoi 说明: itoa(   int   value,   char   *string,   int   radix   );       第一个参数:你要转化的int;       第 ...

  8. 为什么要配置path环境变量?

    一:关于path环境变量--为了在任意目录下,使用javac/java命令 第一种配置方法: 通过配置path环境变量,我们可以使某个程序,比如javac.exe,在任意目录下都可以运行,而不用跑到j ...

  9. js接收复选框的值

    <td><input type="checkbox" class="title" name="title" value=& ...

  10. Examples_08_04