<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_wodehuajianrui</title><subtitle type="text"/><id>http://feed.cnblogs.com/blog/u/39518/rss</id><updated>2009-09-12T03:12:24Z</updated><author><name>花间蕊</name><uri>http://www.cnblogs.com/wodehuajianrui/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/wodehuajianrui/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/39518/rss"/><entry><id>http://www.cnblogs.com/wodehuajianrui/articles/1565174.html</id><title type="text">C语言下的并归融合接口</title><summary type="text">其实这是一道面试题，要求将两个有序的长度分别为L1、L2的数组，融合成为一个有序的长度为L1+L2的数组，数组类型不限，需要提供标准接口。我一想，这个东西简单，用范型呗，在.net下无非就是写个方法，方法原型为：T[]Merge(T[] left, T[]right, IComparer&amp;lt;T&amp;gt; comparer);实现也简单，里面的参数check也简单，同样的，在JAVA这种支持范型的...</summary><published>2009-09-12T03:10:00Z</published><updated>2009-09-12T03:10:00Z</updated><author><name>花间蕊</name><uri>http://www.cnblogs.com/wodehuajianrui/</uri></author><link rel="alternate" href="http://www.cnblogs.com/wodehuajianrui/articles/1565174.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/wodehuajianrui/articles/1565174.html"/></entry><entry><id>http://www.cnblogs.com/wodehuajianrui/articles/1549156.html</id><title type="text">C++语法补遗</title><summary type="text">只有代码：[代码]虚函数表那个其实是扯淡的，RTTI用于类似反射的机制只能做到这么多，ISO不让把一个成员方法作为函数指针使用，就没什么好办法了。</summary><published>2009-08-18T09:19:00Z</published><updated>2009-08-18T09:19:00Z</updated><author><name>花间蕊</name><uri>http://www.cnblogs.com/wodehuajianrui/</uri></author><link rel="alternate" href="http://www.cnblogs.com/wodehuajianrui/articles/1549156.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/wodehuajianrui/articles/1549156.html"/></entry><entry><id>http://www.cnblogs.com/wodehuajianrui/articles/1548765.html</id><title type="text">以O(logN)时间复杂度计算2的N次方的算法</title><summary type="text">题目来源于ACM竞赛。要求，输入任意一个正整数，计算得到2^N%N，需要考虑溢出，并且有时间限制。按照正常的循环求指数的运算，基本上在N比较大的时候一定会超时，因此为了实现这个要求只能寻求时间复杂度小于O(N)的算法。相应的算法及测试代码如下：[代码]对于两个算法中用long去申请局部变量的原因是为了防止溢出，尽管N是一个int变量，但是由于int集合在乘法运算中并不满足闭包性质，所以只有利用lo...</summary><published>2009-08-18T04:45:00Z</published><updated>2009-08-18T04:45:00Z</updated><author><name>花间蕊</name><uri>http://www.cnblogs.com/wodehuajianrui/</uri></author><link rel="alternate" href="http://www.cnblogs.com/wodehuajianrui/articles/1548765.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/wodehuajianrui/articles/1548765.html"/></entry><entry><id>http://www.cnblogs.com/wodehuajianrui/archive/2009/08/12/inheritance-vs-extension_method.html</id><title type="text">继承与扩展方法的比较</title><summary type="text">前段时间，我做的一个项目有一个小小的需求，即：对范型集合类型ObservableCollection&amp;lt;T&amp;gt;进行排序。ObservableCollection&amp;lt;&amp;gt;这个类型在WPF和Silverlight中非常有用，因为它实现了INotifyCollectionChanged接口，继而在进行数据绑定的时候，如果将ItemsControl的ItemsSource属性绑定到一个Ob...</summary><published>2009-08-12T04:35:00Z</published><updated>2009-08-12T04:35:00Z</updated><author><name>花间蕊</name><uri>http://www.cnblogs.com/wodehuajianrui/</uri></author><link rel="alternate" href="http://www.cnblogs.com/wodehuajianrui/archive/2009/08/12/inheritance-vs-extension_method.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/wodehuajianrui/archive/2009/08/12/inheritance-vs-extension_method.html"/></entry><entry><id>http://www.cnblogs.com/wodehuajianrui/archive/2009/08/08/silverlight-windows.html</id><title type="text">My Silverlight系列（13）—— Silverlight Windows</title><summary type="text">众所周知，在微软的Windows平台，我们有许许多多的桌面应用，这让我们的生活变得丰富多彩而且有趣。在BS结构应用和RIA应用大行其道的今天，有很多桌面版应用推出了ajax版本和flex版本，免安装的同时也让升级和维护变得更加容易了。Silverlight作为RIA的一种，它的优势体现在丰富的交互性上。如果说桌面版应用的载体是Windows Explorer的话，那么Silverlight应用的载...</summary><published>2009-08-08T08:08:00Z</published><updated>2009-08-08T08:08:00Z</updated><author><name>花间蕊</name><uri>http://www.cnblogs.com/wodehuajianrui/</uri></author><link rel="alternate" href="http://www.cnblogs.com/wodehuajianrui/archive/2009/08/08/silverlight-windows.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/wodehuajianrui/archive/2009/08/08/silverlight-windows.html"/></entry><entry><id>http://www.cnblogs.com/wodehuajianrui/archive/2009/06/25/silverlight-3-menu-control.html</id><title type="text">My Silverlight系列（12）—— 发布一个通用控件Menu</title><summary type="text">小生不才，自接触Silverlight至今已经一年有余，平时用Silverlight开发应用的时候，使用最多的是UserControl，即使用MS或者第三方提供的通用控件或者Custom Control进行组合之后用以实现某些业务逻辑。尽管也曾因为学习研究视觉状态管理而制作过几个Custom Control，但那些没有任何的实用价值。最近为了模仿WPF上的一些功能，不得不为Silverlight实...</summary><published>2009-06-25T06:49:00Z</published><updated>2009-06-25T06:49:00Z</updated><author><name>花间蕊</name><uri>http://www.cnblogs.com/wodehuajianrui/</uri></author><link rel="alternate" href="http://www.cnblogs.com/wodehuajianrui/archive/2009/06/25/silverlight-3-menu-control.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/wodehuajianrui/archive/2009/06/25/silverlight-3-menu-control.html"/></entry><entry><id>http://www.cnblogs.com/wodehuajianrui/archive/2009/06/05/1496927.html</id><title type="text">.net的GC及对象终结器</title><summary type="text">.net作为托管乎台，释放内存和指针的任务已经交由虚拟机（CLR）来管理了，即所谓的GC。.net对于什么样的对象已经是垃圾说得很清楚，即&amp;#8220;对象已经不可达&amp;#8221;，这一点还算比较好理解，运行时所有的对象组织成为一张图，而在图论中，&amp;#8220;可达性&amp;#8221;是作为一个非常重要的性质来进行讨论的。虽然GC的机制却有很多东西并没有告诉我们，但是的确那些东西不需要我们太过于关心，...</summary><published>2009-06-05T05:42:00Z</published><updated>2009-06-05T05:42:00Z</updated><author><name>花间蕊</name><uri>http://www.cnblogs.com/wodehuajianrui/</uri></author><link rel="alternate" href="http://www.cnblogs.com/wodehuajianrui/archive/2009/06/05/1496927.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/wodehuajianrui/archive/2009/06/05/1496927.html"/></entry><entry><id>http://www.cnblogs.com/wodehuajianrui/archive/2009/04/09/1432406.html</id><title type="text">MS会让程序员变成SB吗</title><summary type="text">微软公司，我想无需我多说什么，百分之九十以上的中国网民，都用着盗版的Windows操作系统。对于软件行业的从业人员来说，微软恐怕也是经常需要提及的名词。再具体些，和这篇的题目联系上，就是对于程序员，微软这个世纪推出了.net这套傻瓜型语言，和Java很相似，但更更容易上手。对于一个没有任何编程基础的人（即没学过任何程序语言、数据结构、编译原理、算法和操作系统等相关知识的人），他第一天接触C#.ne...</summary><published>2009-04-09T05:45:00Z</published><updated>2009-04-09T05:45:00Z</updated><author><name>花间蕊</name><uri>http://www.cnblogs.com/wodehuajianrui/</uri></author><link rel="alternate" href="http://www.cnblogs.com/wodehuajianrui/archive/2009/04/09/1432406.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/wodehuajianrui/archive/2009/04/09/1432406.html"/></entry><entry><id>http://www.cnblogs.com/wodehuajianrui/archive/2009/03/18/1415173.html</id><title type="text">int, float, double之间不得不说的故事</title><summary type="text">抱歉我用了一个这么&amp;#8220;二&amp;#8221;的题目，不过二点就二点吧，希望内容还不算太二。其实学习过编程的同学，都对这三个东西再熟悉不过了。int，又称作整型，在.net中特指的是Int32，为32位长度的有符号整型变量。float，单精度浮点数，32位长度，1位符号位，8位指数位与23位数据位，在.net中又称为Single。double，64位长度的双精度浮点数，1位符号位，11位指数位，...</summary><published>2009-03-18T02:43:00Z</published><updated>2009-03-18T02:43:00Z</updated><author><name>花间蕊</name><uri>http://www.cnblogs.com/wodehuajianrui/</uri></author><link rel="alternate" href="http://www.cnblogs.com/wodehuajianrui/archive/2009/03/18/1415173.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/wodehuajianrui/archive/2009/03/18/1415173.html"/></entry><entry><id>http://www.cnblogs.com/wodehuajianrui/archive/2009/02/18/1392943.html</id><title type="text">My Silverlight系列（11）—— Silverlight中的右键事件点击模拟（全局版本）</title><summary type="text">众所周知，Silverlight默认并不支持右键点击和滚轮操作。微软曾经在它的DeepZoom解决方案中给出了一套对于滚轮操作的支持方案（包括一个Helper类，其实中含有NestedType，还有一个EventArgs类），但是至今仍然没有比较正式的对于右键的支持，所以我依照微软的思路，做了对于右键支持的通用类，希望能够对大家有所帮助。今天要介绍的，是这个通用方法的全局侦测的版本，即无论用户点击...</summary><published>2009-02-18T02:19:00Z</published><updated>2009-02-18T02:19:00Z</updated><author><name>花间蕊</name><uri>http://www.cnblogs.com/wodehuajianrui/</uri></author><link rel="alternate" href="http://www.cnblogs.com/wodehuajianrui/archive/2009/02/18/1392943.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/wodehuajianrui/archive/2009/02/18/1392943.html"/></entry></feed>
