摘要: csshttp://blog.csdn.net/heavincool/archive/2008/07/09/2629217.aspx 阅读全文
posted @ 2009-08-06 12:57 rudyfung 阅读(102) 评论(0) 推荐(0) 编辑
摘要: Eclipse快捷键大全 31推荐Ctrl+1 快速修复(最经典的快捷键,就不用多说了)Ctrl+D: 删除当前行 Ctrl+Alt+↓ 复制当前行到下一行(复制增加)Ctrl+Alt+↑ 复制当前行到上一行(复制增加)Alt+↓ 当前行和下面一行交互位置(特别实用,可以省去先剪切,再粘贴了)Alt+↑ 当前行和上面一行交互位置(同上)Alt+... 阅读全文
posted @ 2009-05-27 10:56 rudyfung 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 目录类与结构的实例比较类与结构的差别如何选择结构还是类类与结构的示例比较结构示例public struct Person{ string Name; int height; int weight public bool overWeight() { //implement something }}类示例public class TestTime{ int hours; int minutes; ... 阅读全文
posted @ 2009-05-26 22:37 rudyfung 阅读(729) 评论(0) 推荐(1) 编辑
摘要: 左外连接,右外连接,全连接,内连接。四种连接的差异例子: a表 id name b表 id job parent_id 1 张3 1 23 1 2 李四 2 34 2 3 王武 3 34 4 a.id同parent_id 存在关系 内连接 select a.*,b.* from a inner join b on a.id=b.parent_id 查询结果与 select a.*,b.*... 阅读全文
posted @ 2009-05-26 22:29 rudyfung 阅读(291) 评论(0) 推荐(0) 编辑
摘要: c#中 uint--byte[]--char[]--string相互转换汇总 uint-----byte[]-----char[]-----string 在在做一些互操作的时候往往需要一些类型的相互转换,比如用c#访问win32api的时候往往需要向api中传入DWORD参数 即:uint参数这些数值所表示的数据在实际的应用中可能需要以字符的形式显示,但是c#对api的关系无法跟c++相比,所以在... 阅读全文
posted @ 2009-05-21 23:09 rudyfung 阅读(825) 评论(0) 推荐(0) 编辑
摘要: grub4dos 阅读全文
posted @ 2009-04-03 17:22 rudyfung 阅读(117) 评论(0) 推荐(0) 编辑
摘要: /// /// Build the protocol to xml string /// /// xml string public override string PackMessage() { StringBuilder xmlSB = new StringBuilder... 阅读全文
posted @ 2009-03-23 15:30 rudyfung 阅读(142) 评论(0) 推荐(0) 编辑
摘要: public class Request { /// /// 璇诲啓m_SessionID /// public String SessionID { get { return m_SessionID; ... 阅读全文
posted @ 2009-03-23 15:17 rudyfung 阅读(198) 评论(0) 推荐(0) 编辑
摘要: [Serializable] public abstract class PacketBase { protected PacketHead packetHead; protected PacketPayload packetPayload; public PacketBase(PacketHead packetHead, Packe... 阅读全文
posted @ 2009-03-23 15:01 rudyfung 阅读(223) 评论(0) 推荐(0) 编辑
摘要: public class PacketHead { private byte[] rawData; public const int HeadLength = 20; public const int MaxPayloadLength = 0xa00000; public PacketHead() { ... 阅读全文
posted @ 2009-03-23 14:59 rudyfung 阅读(162) 评论(0) 推荐(0) 编辑