上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 28 下一页
摘要: 1. 委托可以参考 VS2010 自带例子对委托的操作(+,-), 多播委托:匿名委托:2. 事件1. 定义一个字符串列表类(继承自List<string>)2. 定义委托3. 根据委托定义事件4. 定义激发事件的方法5. 定义事件处理函数6. 订阅namespace MyEvent{ class Program { class StringList:List<string> { public delegate void dele(); public event dele Changed; // 事件定义(用... 阅读全文
posted @ 2012-06-30 12:46 Let it be! 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 1. 简介matplotlib official website:http://matplotlib.sourceforge.net/index.htmlThe pylab mode provides all of thepyplotplotting functions, as well as non-plotting functions fromnumpyandmatplotlib.mlab.Numpy, scipy, matplotlib, pylab之间的关系:链接numpy & scipy 的关系:首先了解下这家公司http://www.enthought.com/ 它维护着包 阅读全文
posted @ 2012-06-28 17:58 Let it be! 阅读(3706) 评论(0) 推荐(0) 编辑
摘要: 1. unsafe与unmanaged的区别managed code是在CLR监管下运行的程序。以下任务由CLR来执行:管理对象内存,类型安全检测和冗余处理。从另一方面来说,unmanaged code也就是能由程序员直接进行内存操作的程序。而unsafe是介于managed和unmanaged之间的桥梁,它使得managed code也能使用指针来控制和操作内存。2. managed, unmanagedUnmanaged code is the good old C++ with no CLR support, therefore unmanaged code does not have 阅读全文
posted @ 2012-06-27 22:49 Let it be! 阅读(2986) 评论(0) 推荐(0) 编辑
摘要: [注:本文章是一篇书评。书名:algorithm 中文书名:算法概论] 这是本很新的书,06年末发行,07年才慢慢出现于人们的视野。我在08年初得知这本书,那会我还很奇怪:都什么年月了,怎么还有人写算法教材——这么“经典”的工作,不是上个世纪就被人做完了吗。 读了这本Algorithms,我才知道:这才是我心中的算法书,我等待这样一本书已经很多年了。它的确当得起这个名字。 书的三位作者:Sanjoy Dasgupta, Papadimitriou, Umesh Vazirani。 其中,Umesh堪称计算机理论界的第二名师(第一名师是他自己的导师Manuel Blum),他带过的学生... 阅读全文
posted @ 2012-06-26 22:57 Let it be! 阅读(334) 评论(0) 推荐(0) 编辑
摘要: temp\research Do We Teach the Right Algorithm Design Techniques ? Anany Levitin Villanova University levitin@vill.edu Abstract Algorithms have come to be recognized as the cornerstone of computing.Surprisingly, there has been little research or discussion of general techniquesfor designin... 阅读全文
posted @ 2012-06-26 22:15 Let it be! 阅读(284) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 28 下一页