02 2012 档案
摘要:c# 条件编译 Conditional ("DEBUG") 简而言之:可以通过Conditional 指定函数和属性是否编译到最终产品中去。同时还应该看看 AttributeUsage Obsolete C# Language Specification System.Attribute...
阅读全文
摘要:These are some commands that I use in Windows and Unix/Linux for various purposes. Windows (//z 2012-2-21 13:42:23 PM IS2120@CSDN) ipconfig Sho...
阅读全文
摘要:相当的不喜欢,找了下设置里面,似乎无法去除。 //z 2012-2-21 11:24:42 AM IS2120@CSDN 直接将这个文件删除得了。。。 C:\Program Files\TortoiseCVS\TortoiseCVSError.wav
阅读全文
摘要:string 最佳实践(C#版) 1. 总是初始化string 1.1 其是一个reftype string str; //z null string str = string.empty; //z string.empty 在整个app中只有一份实例 1.2 不要使用”” string st...
阅读全文
摘要:c# 枚举 enum 类型 (IS2120@CSDN) 1. 最平常的方法 public enum Suits { Spades, Hearts, Clubs, Diamonds, NumSuits } publ...
阅读全文
摘要:1114356 programmer_editor http://blog.csdn.net/programmer_editorhttp://feeds.feedsky.com/csdn.net/programmer_editor 23897 pongba http://blog.csdn.ne...
阅读全文
摘要:前一篇 注册表重定向 64bit系统下操作注册表的注意事项 (2010-03-19 17:50:54) //z 2012-2-9 17:52:04 IS2120@CSDN 1、注册表位置 64bit系统(Windows Server 2008 R2只有64b...
阅读全文
摘要:前一篇 关于64位Windows操作系统中的注册表 什么是重定向 无论是Windows XP Professional X64 Edition、Windows Server 2003X64 Edition还是Windows Vista X64 Edition(以下把均统称为X64系统)...
阅读全文
摘要:1. 判断输入参数是否为NULL if "%1" =="" is2120@csdn 2. 设置标签 :label 使用时,goto label //z 2014-07-18 16:21:56 L.166'27484 BG57IV3@XCL T2289317159.K.F1370514324[...
阅读全文
摘要:使用 string 的一些规则 //z 2012-2-7 16:50:57 PM IS2120@CSDN · Use overloads that explicitly specify the stringcomparison rules for string operation...
阅读全文
摘要:2012-2-6 17:32:24 PM IS2120@CSDN 与datatable奋战了一天,记录一下。。。 1. 查看得到的 datatable 是否为空 datatable.Rows.Count 2. 查看得到的 DataRow[] 是否为空,...
阅读全文
摘要:1. 查找vector中某个元素是否存在 std::find(vector.begin(), vector.end(), item)!=vector.end() 2. 从iterator得到位置( position ) it = std::find(vector.begin(), vector....
阅读全文
摘要:Symbolic constant name Value (hexadecimal) Keyboard (or mouse) equivalent VK_LBUTTON 01 Left mouse button VK_RBUTTON 02 Right mouse button ...
阅读全文
摘要:[wget学习笔记] 哈希表 hash table (lyxint) (之前看过相关代码,也记过点东西,不过很很惭愧,没有整理记录哈。。。) wget里面有一个hash table的实现. 采用了线性开放地址空间法来解决碰撞, 为了保持效率, 保持哈希表包含元素数目和哈希表总大小比率小于0....
阅读全文