<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feed.feedsky.com/styles/feedsky8.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feed.feedsky.com/cnqiwen" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feed.feedsky.com/cnqiwen" type="application/rss+xml"></fs:self_link><lastBuildDate>Mon, 11 Jan 2010 14:47:50 GMT</lastBuildDate><title>沉香竹</title><description>记录技术的点滴</description><link atom:type="text/html">http://www.qiwen.name/</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-3383698404198518469</id><link xmlns="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/3383698404198518469/posts/default"></link><link xmlns="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/"></link><link xmlns="http://www.w3.org/2005/Atom" rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/3383698404198518469/posts/default?start-index=26&amp;max-results=25"></link><link xmlns="http://www.w3.org/2005/Atom" rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://www.qiwen.name/atom.xml"></link><author xmlns="http://www.w3.org/2005/Atom"><name>沉香竹</name><uri>http://www.blogger.com/profile/09992789796925587362</uri><email>hs1107033@gmail.com</email></author><generator xmlns="http://www.w3.org/2005/Atom" version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>277</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><pubDate>Mon, 11 Jan 2010 14:47:49 GMT</pubDate><managingEditor>沉香竹</managingEditor><item><title>征集各位朋友的博客地址</title><link atom:title="征集各位朋友的博客地址" atom:type="text/html">http://www.qiwen.name/2010/01/blog-post.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-3383698404198518469.post-8016424637947389378</id><author xmlns="http://www.w3.org/2005/Atom"><name>沉香竹</name><uri>http://www.blogger.com/profile/09992789796925587362</uri><email>hs1107033@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="07431191712535954068"></gd:extendedProperty></author><thr:total>0</thr:total><description>Hi，我的同学/亲人/朋友们，如果你们看到这篇文章，麻烦将您的博客地址发给我这样我就可以没事的时候去看看现在工作的确挺忙的，但是我还是会忙里偷闲的拿Google Reader去看看别人的博客、IT新闻等等所以告诉我 你的博客地址吧，thx ~&lt;img src=&quot;http://www1.feedsky.com/t1/320836859/cnqiwen/feedsky/s.gif?r=http://www.qiwen.name/2010/01/blog-post.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/cnqiwen/320836859/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/cnqiwen/320836859/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 11 Jan 2010 22:47:50 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3383698404198518469.post-8016424637947389378</guid><dc:creator>沉香竹</dc:creator><fs:srclink>http://www.qiwen.name/2010/01/blog-post.html</fs:srclink><fs:srcfeed>http://www.qiwen.name/atom.xml</fs:srcfeed><fs:itemid>feedsky/cnqiwen/~7820952/320836859/5930272</fs:itemid></item><item><title>20种语言打印出来的“祝大家新年快乐”</title><link atom:title="20种语言打印出来的“祝大家新年快乐”" atom:type="text/html">http://www.qiwen.name/2009/12/20.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-3383698404198518469.post-6044604789802610323</id><author xmlns="http://www.w3.org/2005/Atom"><name>沉香竹</name><uri>http://www.blogger.com/profile/09992789796925587362</uri><email>hs1107033@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="07431191712535954068"></gd:extendedProperty></author><thr:total>0</thr:total><description>powerBuilder:messagebox(&quot;祝大家新年快乐&quot;)C：printf(&quot;祝大家新年快乐&quot;);C++ : cout&lt;&lt;&quot;祝大家新年快乐&quot;;QBasic : Print &quot;祝大家新年快乐&quot;Asp : Response.Write &quot;祝大家新年快乐&quot;PHP : echo &quot;祝大家新年快乐&quot;;  JScript: alert(&quot;祝大家新年快乐&quot;)VBScript:MsgBox &quot;祝大家新年快乐&quot;Jscript:document.write(&quot;祝大家新年快乐&quot;)Delphi: ShowMessage('祝大家新年快乐！');VB: Msg(&quot;祝大家新年快乐！&quot;)VC: MessageBox(&quot;祝大家新年快乐！&quot;);  shell: echo 祝大家新年快乐perl: print '祝大家新年快乐'java: System.out.println(&quot;祝大家新年快乐&quot;);C#：&lt;img src=&quot;http://www1.feedsky.com/t1/320836860/cnqiwen/feedsky/s.gif?r=http://www.qiwen.name/2009/12/20.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/cnqiwen/320836860/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/cnqiwen/320836860/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 31 Dec 2009 19:14:14 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3383698404198518469.post-6044604789802610323</guid><dc:creator>沉香竹</dc:creator><fs:srclink>http://www.qiwen.name/2009/12/20.html</fs:srclink><fs:srcfeed>http://www.qiwen.name/atom.xml</fs:srcfeed><fs:itemid>feedsky/cnqiwen/~7820952/320836860/5930272</fs:itemid></item><item><title>闲聊手机开发</title><link atom:title="闲聊手机开发" atom:type="text/html">http://www.qiwen.name/2009/12/blog-post.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-3383698404198518469.post-3032444567990404715</id><author xmlns="http://www.w3.org/2005/Atom"><name>沉香竹</name><uri>http://www.blogger.com/profile/09992789796925587362</uri><email>hs1107033@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="07431191712535954068"></gd:extendedProperty></author><thr:total>0</thr:total><description>哇，突然发现自己已经有40多天没更新博客了今天看了几篇Android App开发的教程，Android目前已经出了2.01版，UI已经很炫了。因为一些需要，前几天下载了Android源代码，看了看；后来编译下，结果发现我的Dell Notebook已经落伍很多了，编译用了很久（大概是网上说的时间的两倍）；之后启动emulator之后，非常慢...。（Mac, Mac，我期待淘汰这个Dell的日子）  手机开发和PC上开发一个不同之处就是，需要先在模拟器上运行，之后再拿到真机上调试，而有的时候这两者的运行情况会不同的。然后就需要重新烧录app，当然有的时候甚至要重新烧录整个系统。烧录的过程往往比较费时的。想到以前做实习的时候开发iPhone的App，开发工具也是非常好用调试很方便的。良好的开发工具会给Developer一个很好的感觉，然后他们会愿意尝试Hello word，进而深入。&lt;img src=&quot;http://www1.feedsky.com/t1/320836861/cnqiwen/feedsky/s.gif?r=http://www.qiwen.name/2009/12/blog-post.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/cnqiwen/320836861/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/cnqiwen/320836861/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sun, 27 Dec 2009 22:35:46 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3383698404198518469.post-3032444567990404715</guid><dc:creator>沉香竹</dc:creator><fs:srclink>http://www.qiwen.name/2009/12/blog-post.html</fs:srclink><fs:srcfeed>http://www.qiwen.name/atom.xml</fs:srcfeed><fs:itemid>feedsky/cnqiwen/~7820952/320836861/5930272</fs:itemid></item><item><title>Google的Go语言: Python和C++相结合的全新编程语言</title><link atom:title="Google的Go语言: Python和C++相结合的全新编程语言" atom:type="text/html">http://www.qiwen.name/2009/11/googlego-pythonc.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-3383698404198518469.post-8780057501474911766</id><author xmlns="http://www.w3.org/2005/Atom"><name>沉香竹</name><uri>http://www.blogger.com/profile/09992789796925587362</uri><email>hs1107033@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="07431191712535954068"></gd:extendedProperty></author><thr:total>0</thr:total><description>开发者的一个重大新闻：Google刚刚发布了一个开源的编程语言，它叫做Go。
Google公司表示，Go是实验性的，它具有像C++这样的编译语言的性能和安全，以及Python这样的动态语言的速度。
Go的官方吉祥物是一个叫做Gordon的北美地鼠

以下是Google在其博客描述Go的帖子： 

Go尝试结合Python这样动态语言的开发速度以及C或C++这样编译语言的性能和安全。
到目前为止，在Go的实验中，普通的编译在瞬间完成，甚至大的二进制文件编译也是短短的几秒钟。
而编译的代码的运行速度已经接近C语言。Go就是为了速度而设计。 
我们希望Go能成为是一个伟大的系统级编程语言，支持多线程和全新的轻量级的面向对象设计，像真正的关闭，反映了一些很酷的功能。 

欲了解更多详情，请访问www.golang.org

立马来开始Go吧，这里是Hello world实例程序。&lt;img src=&quot;http://www1.feedsky.com/t1/320836863/cnqiwen/feedsky/s.gif?r=http://www.qiwen.name/2009/11/googlego-pythonc.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/cnqiwen/320836863/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/cnqiwen/320836863/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sun, 15 Nov 2009 11:37:27 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3383698404198518469.post-8780057501474911766</guid><dc:creator>沉香竹</dc:creator><fs:srclink>http://www.qiwen.name/2009/11/googlego-pythonc.html</fs:srclink><fs:srcfeed>http://www.qiwen.name/atom.xml</fs:srcfeed><fs:itemid>feedsky/cnqiwen/~7820952/320836863/5930272</fs:itemid></item><item><title>Tor的安装以及使用中的问题</title><link atom:title="Tor的安装以及使用中的问题" atom:type="text/html">http://www.qiwen.name/2009/11/tor.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-3383698404198518469.post-5179731169765594525</id><author xmlns="http://www.w3.org/2005/Atom"><name>沉香竹</name><uri>http://www.blogger.com/profile/09992789796925587362</uri><email>hs1107033@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="07431191712535954068"></gd:extendedProperty></author><thr:total>0</thr:total><description>下载Tor

给Tor的邮箱地址发一封邮件，主题&quot;help&quot;，正文空，邮箱地址为gettor@torproject.org
等会会给你回一封邮件，让你选Tor的类型，这里选择免安装版本(这个版本带有一个firefox，pidgin，vidalia，都已经配置好了)，直接回复tor-im-browser-bundle即可
等会你就会收到一封带附件的邮件，25M左右，注意用GMAIL会比较好，我这里是用的Gmail

Tor 提示 connecting to a relay directory failed(no route to host)的解决方法

下载完后启动，遇到这个问题了，因为ISP已经屏蔽了Tor，这么解决：
vidalia 控制面板的状态是：connecting to a relay directory failed(no route to host)

这是因为ISP&lt;img src=&quot;http://www1.feedsky.com/t1/320836862/cnqiwen/feedsky/s.gif?r=http://www.qiwen.name/2009/11/tor.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/cnqiwen/320836862/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/cnqiwen/320836862/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Sun, 15 Nov 2009 11:35:34 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3383698404198518469.post-5179731169765594525</guid><dc:creator>沉香竹</dc:creator><fs:srclink>http://www.qiwen.name/2009/11/tor.html</fs:srclink><fs:srcfeed>http://www.qiwen.name/atom.xml</fs:srcfeed><fs:itemid>feedsky/cnqiwen/~7820952/320836862/5930272</fs:itemid></item><item><title>广电宽带绑定Mac地址的一点问题</title><link atom:title="广电宽带绑定Mac地址的一点问题" atom:type="text/html">http://www.qiwen.name/2009/06/mac.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-3383698404198518469.post-1213001500194069848</id><author xmlns="http://www.w3.org/2005/Atom"><name>沉香竹</name><uri>http://www.blogger.com/profile/09992789796925587362</uri><email>hs1107033@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="07431191712535954068"></gd:extendedProperty></author><thr:total>0</thr:total><description>近日回家，由于家里没有安宽带，就把笔记本拿到舅舅家上网，把网线接上，新建一个宽带链接，输入帐号密码，发现连接不通，尝试了很久，仍然无法连接。

后来得知广电宽带把服务和电脑的Mac地址绑定了。

以下是解决办法（Windows版本）： 

下载macmakeup.195来改mac地址，它使用起来还是挺方便的。

1.查询被绑定的电脑的Mac地址：在命令提示符里，输入命令 ipconfig /all，在physical address后面显示的即为Mac地址，格式为xx-xx-xx-xx-xx-xx

2.在新接入的电脑里，打开macmakeup，选择正确的网卡，注意不要选中无线网卡了

3.在&quot;新的mac地址&quot;里面输入上面刚刚查询的mac地址，直接填过来就可以了。（这个软件会自动重启网卡的）

然后应该就可以用了，我没有遇到其他啥问题。&lt;img src=&quot;http://www1.feedsky.com/t1/320836883/cnqiwen/feedsky/s.gif?r=http://www.qiwen.name/2009/06/mac.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/cnqiwen/320836883/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/cnqiwen/320836883/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category domain="http://www.blogger.com/atom/ns#">小技巧</category><pubDate>Sat, 31 Oct 2009 11:35:20 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3383698404198518469.post-1213001500194069848</guid><dc:creator>沉香竹</dc:creator><fs:srclink>http://www.qiwen.name/2009/06/mac.html</fs:srclink><fs:srcfeed>http://www.qiwen.name/atom.xml</fs:srcfeed><fs:itemid>feedsky/cnqiwen/~7820952/320836883/5930272</fs:itemid></item><item><title>迅雷威猛--破墙那点事</title><link atom:title="迅雷威猛--破墙那点事" atom:type="text/html">http://www.qiwen.name/2009/10/blog-post.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-3383698404198518469.post-3484172576374148539</id><author xmlns="http://www.w3.org/2005/Atom"><name>沉香竹</name><uri>http://www.blogger.com/profile/09992789796925587362</uri><email>hs1107033@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="07431191712535954068"></gd:extendedProperty></author><thr:total>0</thr:total><description>昨日写了篇博客，用Gmail发布的，但是今天去刷博客，发现还没有显示，所以决定登录博客看看怎么回事。

博客服务用的是Blogger，众所周知的原因，Blogger已经被GFW和谐N天了

去找翻墙软件吧，记得以前用过“无**览”，去Google，发现搜到的页面聊聊无几，而且基本上这些页面都打不开，最终费尽千辛万苦，还是找到了一个最新的的官方地址。 

毫无疑问，官方地址一定是被访问不了的。

忽然想到迅雷无敌的资源搜集 and P2P功能

Copy进去，居然可以 :)

PS. 显然最近墙的功力大增，好多网站都不行了，记得以前Down个“无**览”啥的，是那么轻而易举，哎，时代不同了

UPDATE:
让它配合Firefox的插件Gladder一起使用，效果非常好，很方便，自由的穿梭与在墙内和墙外~~

以下截图： 

当然要事先设置好Firefox的代理“HTTP代理填&lt;img src=&quot;http://www1.feedsky.com/t1/320836865/cnqiwen/feedsky/s.gif?r=http://www.qiwen.name/2009/10/blog-post.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/cnqiwen/320836865/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/cnqiwen/320836865/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category domain="http://www.blogger.com/atom/ns#">GFW/翻墙</category><pubDate>Sat, 31 Oct 2009 11:14:20 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3383698404198518469.post-3484172576374148539</guid><dc:creator>沉香竹</dc:creator><fs:srclink>http://www.qiwen.name/2009/10/blog-post.html</fs:srclink><fs:srcfeed>http://www.qiwen.name/atom.xml</fs:srcfeed><fs:itemid>feedsky/cnqiwen/~7820952/320836865/5930272</fs:itemid></item><item><title>飞信短信接口</title><link atom:title="飞信短信接口" atom:type="text/html">http://www.qiwen.name/2009/08/blog-post_15.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-3383698404198518469.post-4789898217824317415</id><author xmlns="http://www.w3.org/2005/Atom"><name>沉香竹</name><uri>http://www.blogger.com/profile/09992789796925587362</uri><email>hs1107033@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="07431191712535954068"></gd:extendedProperty></author><thr:total>0</thr:total><description>免费短信接口网站（目前只有feition/飞信接口） http://sms.api.bz/

PHP代码如下： 
&lt;?php 

$url = http://sms.api.bz/fetion.php?username=13800138000&amp;password=000000&amp;sendto=13800138000&amp;message=短信内容; 

$result = file_get_contents($url); 

echo $result; 

//返回信息默认为UTF-8编码的汉字，如果你的页面编码为gb2312，请使用下行语句输出返回信息。
//echo iconv(&quot;UTF-8&quot;, &quot;GBK&quot;, $result);
?&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/320836873/cnqiwen/feedsky/s.gif?r=http://www.qiwen.name/2009/08/blog-post_15.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/cnqiwen/320836873/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/cnqiwen/320836873/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category domain="http://www.blogger.com/atom/ns#">PHP</category><pubDate>Sat, 31 Oct 2009 10:59:42 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3383698404198518469.post-4789898217824317415</guid><dc:creator>沉香竹</dc:creator><fs:srclink>http://www.qiwen.name/2009/08/blog-post_15.html</fs:srclink><fs:srcfeed>http://www.qiwen.name/atom.xml</fs:srcfeed><fs:itemid>feedsky/cnqiwen/~7820952/320836873/5930272</fs:itemid></item><item><title>以下编程中问题，你符合多少？</title><link atom:title="以下编程中问题，你符合多少？" atom:type="text/html">http://www.qiwen.name/2009/10/blog-post_30.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-3383698404198518469.post-5882553198117030125</id><author xmlns="http://www.w3.org/2005/Atom"><name>沉香竹</name><uri>http://www.blogger.com/profile/09992789796925587362</uri><email>hs1107033@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="07431191712535954068"></gd:extendedProperty></author><thr:total>0</thr:total><description>整理自《代码大全2》的&quot;重构&quot;，这些问题我们应该都会遇到，加粗的是我自己觉得比较常见的代码重复——提一个函数出来吧，Don't Repeat Yourself!冗长的子程序——最好不要超过一屏循环过长或嵌套过深——创建子程序内聚性太差的类——拆分为多个类吧类的接口未能提供层次一致的抽象——不要草率的修改当初的设计 拥有太多的参数——子程序的接口显然没设计好 类的内部修改往往被局限于某个部分——是不是改拆分为两个类了变化导致对多个类的相同修改——这组类需要重新组织了对继承体系的同样修改case语句需要做相同的修改——是否该换位继承了？同时使用的相关数据并未以类的方式进行组织——是否该组成一个类了？成员函数使用其他类的特征比使用自身类的特征还要多——把这个子程序挪走吧过多使用基本数据类型——有的时候应该创建类了吧  某个类无所事事——功能转移，然后删掉它吧一系列传递流浪数据的子程序——&lt;img src=&quot;http://www1.feedsky.com/t1/320836864/cnqiwen/feedsky/s.gif?r=http://www.qiwen.name/2009/10/blog-post_30.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/cnqiwen/320836864/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/cnqiwen/320836864/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category domain="http://www.blogger.com/atom/ns#">程序设计</category><pubDate>Sat, 31 Oct 2009 09:51:39 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3383698404198518469.post-5882553198117030125</guid><dc:creator>沉香竹</dc:creator><fs:srclink>http://www.qiwen.name/2009/10/blog-post_30.html</fs:srclink><fs:srcfeed>http://www.qiwen.name/atom.xml</fs:srcfeed><fs:itemid>feedsky/cnqiwen/~7820952/320836864/5930272</fs:itemid></item><item><title>代码记录2009.10.5</title><link atom:title="代码记录2009.10.5" atom:type="text/html">http://www.qiwen.name/2009/10/2009105.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-3383698404198518469.post-213918078008379179</id><author xmlns="http://www.w3.org/2005/Atom"><name>沉香竹</name><uri>http://www.blogger.com/profile/09992789796925587362</uri><email>hs1107033@gmail.com</email><gd:extendedProperty name="OpenSocialUserId" value="07431191712535954068"></gd:extendedProperty></author><thr:total>0</thr:total><description>昨天写的，做个记录，以免遗失input: 正整数noutput: k个连续整数，这些连续整数的和为n要求输出所有的情况例如：input: 15output: 1 2 3 4 54 5 67 8 /*wen qi 2009.10.5*/ #include &lt;math.h&gt; #include &lt;iostream&gt;  using namespace std;   typedef unsigned int U32;   typedef struct _common_divisor  {     U32 cd;      U32 cdd;      _common_divisor *next;  } common_divisor;   void out(common_divisor *h);  void release(common_divisor *p);  void add_note(U32&lt;img src=&quot;http://www1.feedsky.com/t1/320836867/cnqiwen/feedsky/s.gif?r=http://www.qiwen.name/2009/10/2009105.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/cnqiwen/320836867/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/cnqiwen/320836867/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category domain="http://www.blogger.com/atom/ns#">C++</category><pubDate>Sat, 31 Oct 2009 09:47:52 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3383698404198518469.post-213918078008379179</guid><dc:creator>沉香竹</dc:creator><fs:srclink>http://www.qiwen.name/2009/10/2009105.html</fs:srclink><fs:srcfeed>http://www.qiwen.name/atom.xml</fs:srcfeed><fs:itemid>feedsky/cnqiwen/~7820952/320836867/5930272</fs:itemid></item></channel></rss>
