﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-静流水-最新评论</title><link>http://www.cppblog.com/GlideLiu/CommentsRSS.aspx</link><description>易-化繁为简</description><language>zh-cn</language><pubDate>Mon, 17 Dec 2007 12:21:05 GMT</pubDate><lastBuildDate>Mon, 17 Dec 2007 12:21:05 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re: 设计范式笔记-Composite</title><link>http://www.cppblog.com/GlideLiu/archive/2007/12/20/10586.html#39138</link><dc:creator>秦歌</dc:creator><author>秦歌</author><pubDate>Thu, 20 Dec 2007 09:44:00 GMT</pubDate><guid>http://www.cppblog.com/GlideLiu/archive/2007/12/20/10586.html#39138</guid><description><![CDATA[顶<img src ="http://www.cppblog.com/GlideLiu/aggbug/39138.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/GlideLiu/" target="_blank">秦歌</a> 2007-12-20 17:44 <a href="http://www.cppblog.com/GlideLiu/archive/2007/12/20/10586.html#39138#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 设计范式笔记-AbstractFactory（二）</title><link>http://www.cppblog.com/GlideLiu/archive/2007/12/18/8888.html#38864</link><dc:creator>秦歌</dc:creator><author>秦歌</author><pubDate>Tue, 18 Dec 2007 04:32:00 GMT</pubDate><guid>http://www.cppblog.com/GlideLiu/archive/2007/12/18/8888.html#38864</guid><description><![CDATA[以后多写点<img src ="http://www.cppblog.com/GlideLiu/aggbug/38864.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/GlideLiu/" target="_blank">秦歌</a> 2007-12-18 12:32 <a href="http://www.cppblog.com/GlideLiu/archive/2007/12/18/8888.html#38864#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 请教</title><link>http://www.cppblog.com/GlideLiu/archive/2007/12/18/38780.html#38842</link><dc:creator>glide</dc:creator><author>glide</author><pubDate>Tue, 18 Dec 2007 00:44:00 GMT</pubDate><guid>http://www.cppblog.com/GlideLiu/archive/2007/12/18/38780.html#38842</guid><description><![CDATA[@Loki.RF<br>你好，我试了，报如下的错<br>cc: 1501-216 command option --with-ld is not recognized - passed to ld<br>ld: 0706-012 The -- flag is not recognized.<br>ld: 0706-012 The -w flag is not recognized.<br>ld: 0706-027 The -i flag is ignored.<br>ld: 0706-012 The -t flag is not recognized.<br>ld: 0706-012 The -h flag is not recognized.<br>ld: 0706-012 The -- flag is not recognized.<br>ld: 0706-006 Cannot find or open library file: -l d<br>        ld:open(): A file or directory in the path name does not exist.<br><img src ="http://www.cppblog.com/GlideLiu/aggbug/38842.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/GlideLiu/" target="_blank">glide</a> 2007-12-18 08:44 <a href="http://www.cppblog.com/GlideLiu/archive/2007/12/18/38780.html#38842#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 请教[未登录]</title><link>http://www.cppblog.com/GlideLiu/archive/2007/12/18/38780.html#38839</link><dc:creator>Loki.RF</dc:creator><author>Loki.RF</author><pubDate>Mon, 17 Dec 2007 22:48:00 GMT</pubDate><guid>http://www.cppblog.com/GlideLiu/archive/2007/12/18/38780.html#38839</guid><description><![CDATA[一般来说需要指定LD的位置，你可以使用--with-ld=来完成。<img src ="http://www.cppblog.com/GlideLiu/aggbug/38839.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/GlideLiu/" target="_blank">Loki.RF</a> 2007-12-18 06:48 <a href="http://www.cppblog.com/GlideLiu/archive/2007/12/18/38780.html#38839#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 软件工程与CMM的关系</title><link>http://www.cppblog.com/GlideLiu/archive/2006/10/19/13873.html#13875</link><dc:creator>红色石头</dc:creator><author>红色石头</author><pubDate>Thu, 19 Oct 2006 07:24:00 GMT</pubDate><guid>http://www.cppblog.com/GlideLiu/archive/2006/10/19/13873.html#13875</guid><description><![CDATA[不懂CMM，不知道在实际软件开发中有什么用<img src ="http://www.cppblog.com/GlideLiu/aggbug/13875.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/GlideLiu/" target="_blank">红色石头</a> 2006-10-19 15:24 <a href="http://www.cppblog.com/GlideLiu/archive/2006/10/19/13873.html#13875#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 软件工程与CMM的关系</title><link>http://www.cppblog.com/GlideLiu/archive/2006/10/19/13873.html#13874</link><dc:creator>luolin</dc:creator><author>luolin</author><pubDate>Thu, 19 Oct 2006 07:16:00 GMT</pubDate><guid>http://www.cppblog.com/GlideLiu/archive/2006/10/19/13873.html#13874</guid><description><![CDATA[你娃看的准确，牛人<img src ="http://www.cppblog.com/GlideLiu/aggbug/13874.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/GlideLiu/" target="_blank">luolin</a> 2006-10-19 15:16 <a href="http://www.cppblog.com/GlideLiu/archive/2006/10/19/13873.html#13874#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 设计范式笔记-Composite</title><link>http://www.cppblog.com/GlideLiu/archive/2006/07/31/10586.html#10749</link><dc:creator>静静的流水</dc:creator><author>静静的流水</author><pubDate>Mon, 31 Jul 2006 15:47:00 GMT</pubDate><guid>http://www.cppblog.com/GlideLiu/archive/2006/07/31/10586.html#10749</guid><description><![CDATA[@白云<br>谢谢<img src ="http://www.cppblog.com/GlideLiu/aggbug/10749.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/GlideLiu/" target="_blank">静静的流水</a> 2006-07-31 23:47 <a href="http://www.cppblog.com/GlideLiu/archive/2006/07/31/10586.html#10749#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 设计范式笔记-Composite</title><link>http://www.cppblog.com/GlideLiu/archive/2006/07/31/10586.html#10748</link><dc:creator>白云</dc:creator><author>白云</author><pubDate>Mon, 31 Jul 2006 15:31:00 GMT</pubDate><guid>http://www.cppblog.com/GlideLiu/archive/2006/07/31/10586.html#10748</guid><description><![CDATA[在以上代码的基础上增加方法的异常处理以及组增加组的操作。<br><a target="_new" href="http://www.cnblogs.com/WhiteCloud/archive/2006/07/31/464484.html">http://www.cnblogs.com/WhiteCloud/archive/2006/07/31/464484.html</a><img src ="http://www.cppblog.com/GlideLiu/aggbug/10748.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/GlideLiu/" target="_blank">白云</a> 2006-07-31 23:31 <a href="http://www.cppblog.com/GlideLiu/archive/2006/07/31/10586.html#10748#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 设计范式笔记-Composite</title><link>http://www.cppblog.com/GlideLiu/archive/2006/07/31/10586.html#10714</link><dc:creator>静静的流水</dc:creator><author>静静的流水</author><pubDate>Sun, 30 Jul 2006 16:24:00 GMT</pubDate><guid>http://www.cppblog.com/GlideLiu/archive/2006/07/31/10586.html#10714</guid><description><![CDATA[@白云<br>不错的应用，谢谢补充<img src ="http://www.cppblog.com/GlideLiu/aggbug/10714.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/GlideLiu/" target="_blank">静静的流水</a> 2006-07-31 00:24 <a href="http://www.cppblog.com/GlideLiu/archive/2006/07/31/10586.html#10714#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 设计范式笔记-Composite</title><link>http://www.cppblog.com/GlideLiu/archive/2006/07/30/10586.html#10713</link><dc:creator>白云</dc:creator><author>白云</author><pubDate>Sun, 30 Jul 2006 15:00:00 GMT</pubDate><guid>http://www.cppblog.com/GlideLiu/archive/2006/07/30/10586.html#10713</guid><description><![CDATA[没啥好评论的，贴段代码。<br>Composite模式C#实现：用户及用户组权限设置，一个组内的用户权限相同。<br>//用户和组的父接口<br>public interface userbase<br>{<br>    void AddChild(userbase u); //添加子文件夹<br>    void SetPurview(string purview);//设置权限<br>}<br>//用户类<br>public class user : userbase<br>{<br>    private string purview = &quot;&quot;;<br><br>    public void AddChild(userbase c)<br>    {<br>        //用户下面没有用户，所以为空<br>    }<br><br>    public void SetPurview(string strPurview)<br>    {<br>        //设置用户的权限<br>        purview = strPurview;<br>    }<br>}<br>//用户组类.<br>public class group : userbase<br>{<br>    private ArrayList userlist = new ArrayList();<br><br>    public void AddChild(userbase c) //添加用户<br>    {<br>        userlist.Add(c);<br>    }<br><br>    public void SetPurview(string strPurview)<br>    {<br>        foreach (userbase u in userlist)<br>            u.SetPurview(strPurview);<br>    }<br>}<br>class MyMain<br>{ <br>    public static void Main() <br>    { <br>        //创建用户组<br>      group group1 = new group();//用户组1<br>        user user1 = new user();//用户1<br>        user user2 = new user();//用户2<br>        user user3 = new user();//用户3<br><br>        //添加两个用户到组中<br>      group1.AddChild(user1);<br>        group1.AddChild(user2);<br><br>        group1.SetPurview(&quot;权限1&quot;);//设置组权限，则设置了组内的用户权限<br><br>      user3.SetPurview(&quot;权限2&quot;);//设置用户3的权限<br>    }<br>}<br><br><br><img src ="http://www.cppblog.com/GlideLiu/aggbug/10713.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/GlideLiu/" target="_blank">白云</a> 2006-07-30 23:00 <a href="http://www.cppblog.com/GlideLiu/archive/2006/07/30/10586.html#10713#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>