转自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. 通过百度获取IP地址对应的经纬度

    /** * 获取指定IP对应的经纬度(为空返回当前机器经纬度) *  * @param ip * @return */ public static String[] getIPXY(String ip ...

  2. 重写扫雷(基于jQuery) 新手 有不足的地方敬请谅解

    记得刚开始学习js的时候写过一次扫雷,一个下午的时间被计算搞死,整个头是晕乎. 入职后,蹭着空闲的时间随手写了一个扫雷. 直接上代码了 (function() { function module() ...

  3. jQuery表单验证以及将表单序列化为json对象小练习

    jquery表单验证(非实时验证),同时,将表单序列化为json对象提交表单. <!DOCTYPE html> <html lang="en"> <h ...

  4. Column count of mysql.proc is wrong. Expected 20, found 16. Created with MySQL 50096, now running 50173.

    IDEA链接mysql提示 Column count of mysql.proc is wrong. Expected 20, found 16. Created with MySQL 50096, ...

  5. windows 编程—— 宽字符集 与 Unicode

    目录: 从ASCII码 到 Unicode Windows 编程中的 "字符” 定义 (如何在windows下进行通用编码) 常用的通用函数,定义 (本文为学习<Programming ...

  6. POJ1505:Copying Books(区间DP)

    Description Before the invention of book-printing, it was very hard to make a copy of a book. All th ...

  7. 利用MyEclipse的ant插件生成Hibernate的映射文件

    先下载:xdoclet-plugins-dist-1.0.4-bin build.xml文件 <?xml version="1.0" encoding="UTF-8 ...

  8. Task的运行过程分析

    Task的运行过程分析 Task的运行通过Worker启动时生成的Executor实例进行, caseRegisteredExecutor(sparkProperties)=> logInfo( ...

  9. 几个常用的ps命令

    1. ps aux If you are looking for a short summary of the active processes, use  ps aux [root@rhel7 tm ...

  10. ClickOnce发布后不能安装

    当在internet发布用ClickOnce打包的客户端程序时,遇到ClickOnce启动后出错,错误信息如下: + Downloading https://xxxxx/Deploy/pc/Boote ...