上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 63 下一页
摘要: From C++ Primer: The logical AND and OR operators always evaluate their left operand before the right. The right operand is evaluated only if the left operand does not determine the result. This evalu... 阅读全文
posted @ 2009-02-16 23:03 能巴 阅读(395) 评论(0) 推荐(0) 编辑
摘要: Whatever platform an application runs on (windows, linux, mac, etc), the way to visit file system is through OS API (e.g: windows API). Take "get a file name" for example on windows, finally the name ... 阅读全文
posted @ 2009-02-06 16:02 能巴 阅读(304) 评论(0) 推荐(0) 编辑
摘要: Windows (ANSI) code pages Microsoft defined a number of code pages known as the ANSI code pages. Don't confuse "ANSI" with "ASCII". For function ::WideCharToMultiByte and ::MultiByteToWideChar, the... 阅读全文
posted @ 2009-02-06 13:19 能巴 阅读(768) 评论(0) 推荐(0) 编辑
摘要: 转载自:http://vipnews.csdn.net/newscontent.aspx?pointid=2009_02_01_144216610 我们到底要什么 在回顾了我们写代码的历史之后,我们回过头来看看,我们到底要什么? 无论是使用JSP,还是使用Struts1,或是Struts2,我们至少都需要一些必须的元素(如果没有这些元素,或许我还真不知道这个程序会写成什么样子... 阅读全文
posted @ 2009-02-01 20:02 能巴 阅读(262) 评论(0) 推荐(0) 编辑
摘要: For the details on how to initialize a GUID, check this page http://support.microsoft.com/kb/130869. (definitely we are using a new version compiler! So get to use #include) Summary of a problem I me... 阅读全文
posted @ 2009-01-23 11:56 能巴 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 转载自:http://pangpengzhouwenwen.blog.163.com/blog/static/3007819220081182742178/ 1. __declspec(align(16)) struct SS{ int a,b; }; 它与#pragma pack()是一对兄弟,前者规定了对齐的最小值,后者规定了对齐的最大值。同时出现时,前者优先级高。 __declspec... 阅读全文
posted @ 2009-01-23 11:05 能巴 阅读(455) 评论(0) 推荐(0) 编辑
摘要: You may meet below errors before: error C2220: warning treated as error - no 'object' file generated warning C4819: The file contains a character that cannot be represented in the current code pag... 阅读全文
posted @ 2009-01-20 13:38 能巴 阅读(1944) 评论(0) 推荐(0) 编辑
摘要: mt -inputresource:X:\..\*.exe;#1 -out:X:\custom.manifest Above calling mt.exe to extract *.exe's manifest to be custom.manifest. It's very useful to check the application's dependency on side-by-side ... 阅读全文
posted @ 2009-01-07 23:12 能巴 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 原 名:Brian's Guide to Solving Any Perl Problem 中 文: Brian 的 Perl 问题之万能指南 作 者:brian d foy 原 文:http://www252.pair.com/comdog/brian's_guide.pod 发 表:2004-07-20 翻 译:klaus 审 校:qiang 出 处:中国 Perl协会 FPC ... 阅读全文
posted @ 2009-01-06 21:36 能巴 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 1. Command window Type command directly, like: view.fullscreen debug.breakpoints immed (go to immediate window directly) 2. Immediate window ? (print a variable's value) >alias (view all alias command... 阅读全文
posted @ 2008-12-31 19:15 能巴 阅读(267) 评论(0) 推荐(0) 编辑
上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 63 下一页