- 博客(4)
- 资源 (3)
- 收藏
- 关注
转载 Conversations: Virtually Yours
<br />http://drdobbs.com/cpp/184403760<br /> good class designer can communicate how she intends a class to be used-often without writing a single comment-through intelligent use of access modifiers and virtual functions. But there's more: a good class des
2011-05-30 17:53:00 379
转载 Builder模式的误区:将复杂对象的构建进行封装,就是Builder模式了吗?
Builder模式的误区:将复杂对象的构建进行封装,就是Builder模式了吗? 最近重读GOF的《设计模式》,读到Builder模式的时候,发现还是不能领悟;网上搜了下其他人的解释,发现很多人都用错了Builder模式,结构形似Builder,实际上却更像Template、或者Factory Method,或者四不像,并没有体现出Builder模式的思想和威力;通过对比学习,也逐渐加深了我对Builder模式的认识,于是就有了这篇文章。 0. GOF - Builder模式 下
2011-05-15 21:47:00 446
转载 A Collection of Examples of 64-bit Errors in Real Programs
转自 http://www.codeproject.com/KB/cpp/Examples-64-bit-Errors.aspx<br />Abstract<br />This article is the most complete collection of examples of 64-bit errors in the C and C++ languages. The article is intended for Windows-application developers who use
2011-05-15 20:34:00 2095
转载 __stdcall,__cdecl,_cdecl,_stdcall,。__fastcall,_fastcall 区别简介
<br />http://blog.csdn.net/tuwen/archive/2008/03/14/2182838.aspx<br />__stdcall,__cdecl,_cdecl,_stdcall,。__fastcall,_fastcall 区别简介 <br />1.<br />今天写线程函数时,发现msdn中对ThreadProc的定义有要求:DWORD WINAPI ThreadProc(LPVOID lpParameter); <br />不解为什么要用WINAPI宏定义,查了后发现下面的定
2011-05-15 20:20:00 303
重构改善既有的代码
2014-08-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人