上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 63 下一页
摘要: [转载自:http://www.cppblog.com/mzty/archive/2006/12/07/16101.html] 主要是两个问题:指针截断和数据对齐。 C/C++移植的问题 1 新的数据类型和函数 1)固定精度:(跟X86或X64无关) Term Description DWORD32 ... 阅读全文
posted @ 2009-04-26 16:27 能巴 阅读(2053) 评论(0) 推荐(0)
摘要: /Wp64 (Detect 64-Bit Portability Issues). msdn: http://msdn.microsoft.com/en-us/library/yt4xw8fh.aspx 阅读全文
posted @ 2009-04-26 16:09 能巴 阅读(275) 评论(0) 推荐(0)
摘要: [转载自:http://violasong.com/blog/] Beautiful Code and Beautiful Software Monday, October 29, 2007 Programming was fun because I could make cool stuff, but what actually got me obsessed about it was su... 阅读全文
posted @ 2009-04-25 22:43 能巴 阅读(270) 评论(0) 推荐(0)
摘要: [转载自:http://www.mscto.com/cppvc/1541912.html] MFC-对话框与数据交换 对话框是非常重要的一种窗体,就我看过的应用,除了MDI程序,对话框比文档视图框架用得更多。原因大概有两个,首先对话框可以利用资源编辑器来编 辑,这就有了一点快速开发的感觉,尽管比真正的快速开发弱得多;其次,对话框提供一种叫数据交换的方法,让控件与某种数据类型关联起来,比如... 阅读全文
posted @ 2009-04-22 00:17 能巴 阅读(1897) 评论(1) 推荐(1)
摘要: 1. Inline function expansion,内联函数扩展的三种优化(使用内联可以节省函数调用的开销,加快程序速度):Disable不使用内联;Only __inline,仅函数定义前有inline或__inline标记使用内联;Any Suitable,除了inline或__inline标记的函数外,编译器“觉得”应该使用内联的函数,都使用内联。 2. Enables minimal... 阅读全文
posted @ 2009-04-16 23:17 能巴 阅读(232) 评论(0) 推荐(0)
摘要: [MSDN]Objects and the Object Hierarchy Home Page (Objects) | Overview | FAQ | Reference You can control the Visual C++ Developer Studio environment programmatically by manipulating it through... 阅读全文
posted @ 2009-04-16 23:05 能巴 阅读(282) 评论(0) 推荐(0)
摘要: Stack unwinding (C++) When an exception is thrown and control passes from a try block to a handler, the C++ run time calls destructors for all automatic objects constructed since the beginning of the ... 阅读全文
posted @ 2009-04-16 22:23 能巴 阅读(400) 评论(0) 推荐(0)
摘要: MSDN MFC: http://msdn.microsoft.com/zh-cn/library/d06h2x6e.aspxTN020 http://msdn.microsoft.com/zh-cn/library/ft1t4bbc.aspxNeed to learn0. 什么是窗口类?窗口函数?IRR的使用00. Articles:http://www.vckbase.com/document... 阅读全文
posted @ 2009-04-16 16:04 能巴 阅读(386) 评论(0) 推荐(0)
摘要: MFC Library Reference [MSDN: http://msdn.microsoft.com/zh-cn/library/0asx94f7(VS.80).aspx] Managing the State Data of MFC Modules This article discusses the state data of MFC modules and how thi... 阅读全文
posted @ 2009-04-14 22:55 能巴 阅读(294) 评论(0) 推荐(0)
摘要: 对于Windows平台而言,dll一共有4种类型: 非 MFC DLL 静态链接到 MFC 的规则 DLL (MFC Regular DLL) 动态链接到 MFC 的规则 DLL(MFC Regular DLL) 扩展 DLL(MFC Extension DLL) ... 阅读全文
posted @ 2009-04-13 22:58 能巴 阅读(831) 评论(0) 推荐(0)
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 63 下一页