<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_AlexusLi</title><subtitle type="text"/><id>http://feed.cnblogs.com/blog/u/42326/rss</id><updated>2009-10-17T14:48:05Z</updated><author><name>AlexusLi</name><uri>http://www.cnblogs.com/alexusli/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/alexusli/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/42326/rss"/><entry><id>http://www.cnblogs.com/alexusli/archive/2009/10/17/1585297.html</id><title type="text">如何根据一棵二叉树的前序、中序序列，勾造一棵二叉树。</title><summary type="text">已知前序是ABCDEFG  中序是CBEDAFG  求二叉树 首先从取前序第1个字母(A)  按此字母把中序分成两段  (CBED)  (AFG) A做根  (CBED)做左子树  (FG)右子树 再按长度把前序后面的部分分成(BCDE)  (FG) 问题就转换成 已知前序是BCDE  中序是CBED  求二叉树 和 已经前序是FG  中序是FG  求二叉树 看出来了没有,递归求解的. 下面的步骤...</summary><published>2009-10-17T14:48:00Z</published><updated>2009-10-17T14:48:00Z</updated><author><name>AlexusLi</name><uri>http://www.cnblogs.com/alexusli/</uri></author><link rel="alternate" href="http://www.cnblogs.com/alexusli/archive/2009/10/17/1585297.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/alexusli/archive/2009/10/17/1585297.html"/></entry><entry><id>http://www.cnblogs.com/alexusli/archive/2009/10/09/1579395.html</id><title type="text">手把手教你玩转SOCKET模型之重叠I/O篇（上）转</title><summary type="text">手把手教你玩转SOCKET模型之重叠I/O篇  &amp;#8220;身为一个初学者，时常能体味到初学者入门的艰辛，所以总是想抽空作点什么来尽我所能的帮助那些需要帮助的人。我也希望大家能把自己的所学和他人一起分享，不要去鄙视别人索取时的贪婪，因为最应该被鄙视的是不肯付出时的吝啬。&amp;#8221; ----- 题记 By PiggyXP(小猪) 前 言 其实我首先应该道歉，因为7月份的时候曾信誓旦旦的说要写一...</summary><published>2009-10-08T18:48:00Z</published><updated>2009-10-08T18:48:00Z</updated><author><name>AlexusLi</name><uri>http://www.cnblogs.com/alexusli/</uri></author><link rel="alternate" href="http://www.cnblogs.com/alexusli/archive/2009/10/09/1579395.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/alexusli/archive/2009/10/09/1579395.html"/></entry><entry><id>http://www.cnblogs.com/alexusli/archive/2009/10/07/1578805.html</id><title type="text">JJC惩戒QS必用宏教程</title><summary type="text">攻击序列宏：按照序列一个技能一个技能放下去。 #showtooltip /startattack /castsequence reset=6/taget圣光审判，十字军打击，神圣风暴 /stopcasting 注：/castsequence 表示按序列施放技能，只有第一技能施放成功才能继续施放第二技能，后面的 reset=X 表示以秒为单位的宏冷却时间，冷却时间完毕后宏将返回第一攻击技能。 I.攻...</summary><published>2009-10-07T09:31:00Z</published><updated>2009-10-07T09:31:00Z</updated><author><name>AlexusLi</name><uri>http://www.cnblogs.com/alexusli/</uri></author><link rel="alternate" href="http://www.cnblogs.com/alexusli/archive/2009/10/07/1578805.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/alexusli/archive/2009/10/07/1578805.html"/></entry><entry><id>http://www.cnblogs.com/alexusli/archive/2009/10/07/1578736.html</id><title type="text">China Pub 高清书籍6CD 包含的图书目录</title><summary type="text">CD1 网络技术&amp;#9500;&amp;#9472;CCIE学习指南实验室操作&amp;#9500;&amp;#9472;CCNA学习指南&amp;#9500;&amp;#9472;CCNP学习指南：CLSC CISCO局域网交换配置技术&amp;#9500;&amp;#9472;CISCO CATALYST局域网交换技术&amp;#9500;&amp;#9472;CISCO分组语音与数据集成技术&amp;#9500;&amp;#9472;CISCO访问表配置指南&amp;#9500;&amp;#9...</summary><published>2009-10-07T05:42:00Z</published><updated>2009-10-07T05:42:00Z</updated><author><name>AlexusLi</name><uri>http://www.cnblogs.com/alexusli/</uri></author><link rel="alternate" href="http://www.cnblogs.com/alexusli/archive/2009/10/07/1578736.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/alexusli/archive/2009/10/07/1578736.html"/></entry><entry><id>http://www.cnblogs.com/alexusli/archive/2009/10/02/1577328.html</id><title type="text">Visitor模式</title><summary type="text">作用: 　　表示一个作用于某对象结构中的各元素的操作.它使你可以在不改变各元素的类的前提下定义作用于这些元素的新操作. 　　UML结构图:  　　解析: 　　Visitor模式把对结点的访问封装成一个抽象基类,通过派生出不同的类生成新的访问方式.在实现的时候,在visitor抽象基类中声明了 对所有不同结点进行访问的接口函数,如图中的VisitConcreateElementA函数等,这样也造成了...</summary><published>2009-10-01T19:39:00Z</published><updated>2009-10-01T19:39:00Z</updated><author><name>AlexusLi</name><uri>http://www.cnblogs.com/alexusli/</uri></author><link rel="alternate" href="http://www.cnblogs.com/alexusli/archive/2009/10/02/1577328.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/alexusli/archive/2009/10/02/1577328.html"/></entry><entry><id>http://www.cnblogs.com/alexusli/archive/2009/10/02/1577319.html</id><title type="text">Command模式</title><summary type="text">作用: 　　将一个请求封装为一个对象,从而使你可用不同的请求对客户进行参数化;对请求排队或记录请求日志,以及支持可撤消的操作. 　　UML结构图:  　　解析: 　　Comnand模式的思想是把命令封装在一个类中,就是这里的Command基类,同时把接收对象也封装在一个类中就是这里的Receiver 类中,由调用这个命令的类也就是这里的Invoker类来调用.其实,如果弄清楚了Command模式的...</summary><published>2009-10-01T17:27:00Z</published><updated>2009-10-01T17:27:00Z</updated><author><name>AlexusLi</name><uri>http://www.cnblogs.com/alexusli/</uri></author><link rel="alternate" href="http://www.cnblogs.com/alexusli/archive/2009/10/02/1577319.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/alexusli/archive/2009/10/02/1577319.html"/></entry><entry><id>http://www.cnblogs.com/alexusli/archive/2009/10/01/1577230.html</id><title type="text">C++设计模式17：Memento模式</title><summary type="text">Memento模式在于不破坏封装，保存一个类的内部状态，这样可以利用该保存状态进行恢复操作。 Memento的所有接口都申明为Private，并且将Originator作为其友元类，这样将ORI的状态保存在该模式类下，才可以达到封装效果。 #include&amp;lt;iostream&amp;gt; #include&amp;lt;string&amp;gt; using namespace std; typedef str...</summary><published>2009-10-01T07:30:00Z</published><updated>2009-10-01T07:30:00Z</updated><author><name>AlexusLi</name><uri>http://www.cnblogs.com/alexusli/</uri></author><link rel="alternate" href="http://www.cnblogs.com/alexusli/archive/2009/10/01/1577230.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/alexusli/archive/2009/10/01/1577230.html"/></entry><entry><id>http://www.cnblogs.com/alexusli/archive/2009/10/01/1577157.html</id><title type="text">设计模式解析之——Observer模式（k_eckel转自微软高校博客K_eckel's mindview）</title><summary type="text">0 引言 0.1 目的  本文档给出设计模式之&amp;#8212;&amp;#8212;Observer模式的简化诠释，并给出其C++实现。 0.2 说明 Project  Design Pattern Explanation（By K_Eckel） Authorization  Free Distributed but Ownership Reserved Date  2005-04-05（Cherry bl...</summary><published>2009-09-30T19:22:00Z</published><updated>2009-09-30T19:22:00Z</updated><author><name>AlexusLi</name><uri>http://www.cnblogs.com/alexusli/</uri></author><link rel="alternate" href="http://www.cnblogs.com/alexusli/archive/2009/10/01/1577157.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/alexusli/archive/2009/10/01/1577157.html"/></entry><entry><id>http://www.cnblogs.com/alexusli/archive/2009/10/01/1577156.html</id><title type="text">策略（Strategy）模式</title><summary type="text">一、策略（Strategy）模式 策略模式的用意是针对一组算法，将每一个算法封装到具有共同接口的独立的类中，从而使得它们可以相互替换。策略模式使得算法可以在不影响到客户端的情况下发生变化。 假设现在要设计一个贩卖各类书籍的电子商务网站的购物车（Shopping Cat）系统。一个最简单的情况就是把所有货品的单价乘上数量，但是实际情况肯定比这要复杂。比如，本网站可能对所有的教材类图书实行每本一元的折...</summary><published>2009-09-30T18:52:00Z</published><updated>2009-09-30T18:52:00Z</updated><author><name>AlexusLi</name><uri>http://www.cnblogs.com/alexusli/</uri></author><link rel="alternate" href="http://www.cnblogs.com/alexusli/archive/2009/10/01/1577156.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/alexusli/archive/2009/10/01/1577156.html"/></entry><entry><id>http://www.cnblogs.com/alexusli/archive/2009/09/29/1576580.html</id><title type="text">Template Method模板方法模式</title><summary type="text">Template模式是很简单模式，但是也应用很广的模式。如上面的分析和实现中阐明的Template是采用继承的方式实现算法的异构，其关键点就是将通用算法封装在抽象基类中，并将不同的算法细节放到子类中实现。Template模式获得一种反向控制结构效果，这也是面向对象系统的分析和设计中一个原则DIP（依赖倒置：Dependency Inversion Principles）。其含义就是父类调用子类的操...</summary><published>2009-09-29T11:54:00Z</published><updated>2009-09-29T11:54:00Z</updated><author><name>AlexusLi</name><uri>http://www.cnblogs.com/alexusli/</uri></author><link rel="alternate" href="http://www.cnblogs.com/alexusli/archive/2009/09/29/1576580.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/alexusli/archive/2009/09/29/1576580.html"/></entry></feed>
