随笔分类 -  CPlusPlus

Unicode-enabling Microsoft C/C++ Source Code
摘要:Today, my team leader assigned me a task to design the localization. I feel surprised that I could get this workitem. Tonight I found some useful stuff that refer to the unicode and mbcs. 1. httop://... 阅读全文
posted @ 2007-11-16 01:11 peter he 阅读(314) 评论(0) 推荐(0)
HeapAlloc和GlobalAlloc以及VirtualAlloc三者之间的关系
摘要:VirtualAlloc一次分配1PAGE以上的RAM. 每次分配都是PAGE的整数倍. 你不会想为了分配1个BYTE的空间而浪费剩下的4095字节. OK. 你可以自己写算法,多分 配几PAGE. 然后每次分配少量数据时就从那几PAGE中划分出来. 什么? 你笨到不会写分 配算法? 好巴 KERNEL32给你一个解决办法. 用HeapAlloc/GlobalAlloc分配RAM. 这样,... 阅读全文
posted @ 2007-10-29 10:12 peter he 阅读(1404) 评论(2) 推荐(2)
C++ Review Series
摘要:In the next half year, I will be interviewed for jobs. C++ Technology will be a primary part. So I will write some articles to introduce the basic concepts and theories. Most of importance , the appl... 阅读全文
posted @ 2007-05-29 23:41 peter he 阅读(220) 评论(0) 推荐(0)
Hash Table
摘要:There are numberous ways to structure elements into a collection: Linked List Binary trees Arrays and so forth They all have their advantages and disadvantages. A common disadvantage is that you h... 阅读全文
posted @ 2007-03-26 14:29 peter he 阅读(238) 评论(0) 推荐(0)
Properties in C++ (翻译)
摘要:english version:http://www.codeguru.com/cpp/cpp/algorithms/general/article.php/c13039/#more 当我使用C#的属性编程的时候, 我考虑到为什么C++不具有这样的特点呢. 这是一个具有挑战的问题, 因为我知道对于C++开发者来说,这是一个非常重要的的事情! 我花了3天时间来写这篇文章, 希望你会发现这是有用的.说... 阅读全文
posted @ 2007-03-26 10:56 peter he 阅读(245) 评论(0) 推荐(0)
Multi-core Intel Processor Architecture Software Development Tools
摘要:A good online mp course! online address: http://www.intel.com/software/cn/mcwebcast/ 阅读全文
posted @ 2007-03-20 15:05 peter he 阅读(215) 评论(0) 推荐(0)
IME输入法编程
摘要:第一章 Windows9x系统下汉字输入法的基本原理 Windows系统下汉字输入法实际上是将输入的标准ascii字符串按照一定的编码规则转换为汉字或汉字串,进入到目的地。 由于应用程序各不相同,用户不可能自己去设计转换程序,因此,汉字输入自然而然落到WINDOWS系统管理中。一、输入法与系统的关系 键盘事件 应用程序 | | Windows的USER.E... 阅读全文
posted @ 2006-11-15 11:14 peter he 阅读(4251) 评论(1) 推荐(2)