<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.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:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/LovinChan" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/LovinChan" type="application/rss+xml"></fs:self_link><lastBuildDate>Mon, 25 May 2009 11:58:00 GMT</lastBuildDate><title>LovinChan的专栏</title><description>◆蛋壳¨ю</description><link>http://blog.csdn.net/LovinChan/</link><item><title>Java 版 赫夫曼编码计算程序</title><link>http://blog.csdn.net/LovinChan/archive/2009/05/25/4213980.aspx</link><wfw:comment>http://blog.csdn.net/LovinChan/comments/4213980.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/LovinChan/comments/commentRss/4213980.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=4213980</trackback:ping><description>&lt;br /&gt;package org.rjb.util;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Scanner;
/**
 * 通过输入元素的权值计算出该元素的赫夫曼编码
 * @author LovinChan
 * @version 1.2
 * 
 *   要不是一个我也不知道什么名字的实验课，我也没想到自己动手写这么个丑程序，开始写的
 * 时候还真的遇到了一些困难，主要是对赫夫曼树的数据结构不熟悉，所以刚开始写这个程序的
 * 时候还真的动了一番脑筋，也在网上下了一些代码看了看，可是用我自己的数据测试的时候发
 * 现那些程序很多还是有问题的，于是乎悲剧性的我决定自己写这么个程序，通过输入元素的权
 * 值计算该元素的赫夫曼编码。
 *   权值暂时只能用整数，因为写得比较赶，可能很多地方都没考虑到，希望大家如果发现了错
 * 误能&lt;img src =&quot;http://blog.csdn.net/LovinChan/aggbug/4213980.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/223336174/LovinChan/csdn.net/s.gif?r=http://blog.csdn.net/LovinChan/archive/2009/05/25/4213980.aspx&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/csdn.net/LovinChan/223336174/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/csdn.net/LovinChan/223336174/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 25 May 2009 19:58:00 +0800</pubDate><author>陈龙文</author><comments>http://blog.csdn.net/LovinChan/archive/2009/05/25/4213980.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/LovinChan/archive/2009/05/25/4213980.aspx</guid><dc:creator>陈龙文</dc:creator><fs:srclink>http://blog.csdn.net/LovinChan/archive/2009/05/25/4213980.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/LovinChan/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/LovinChan/~7384553/223336174/5494072</fs:itemid></item><item><title>将数字转为中文金额的大写方式（C++版）</title><link>http://blog.csdn.net/LovinChan/archive/2008/11/13/3291717.aspx</link><wfw:comment>http://blog.csdn.net/LovinChan/comments/3291717.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/LovinChan/comments/commentRss/3291717.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3291717</trackback:ping><description>/**
 * 程序目的：
 *   从命令行接收一个数，并将其转化为中文金额的大写方式（C++版）
 * 例如 123.45 --&gt; 壹佰贰拾叁元肆角伍分
 * @author LovinChan
 *
 *   前一段时间做了个 Java 版的。突然有天心血来潮做个 C++ 版本的，实现的功能
 * 跟 Java 版本的没什么区别，不过由于我对 C++ 的了解还不是很多，写出来的东西
 * 还有很多问题和不合规范的地方，希望各位踊跃指出来。
 * 
 *   程序的注释我尽量写得详细一点，如果觉得这个程序哪里有问题或者是哪里有改进的
 * 地方欢迎随时跟我交流。
 * 
 *   我附上了编译以后的 .exe 文件跟 .bat 文件，还有项目源码，供大家测评。
 *
 * 工具：Microsoft Visual Studio 2005
 * 编译环境：Microsoft Visual Studio 2005
 *
 * 我的msn:egg.chenlw@gmail.com
 *    QQ:372133556(注上为什么加我就可以了)
 * 我&lt;img src =&quot;http://blog.csdn.net/LovinChan/aggbug/3291717.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/LovinChan/223336175/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/csdn.net/LovinChan/223336175/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 13 Nov 2008 23:57:00 +0800</pubDate><author>陈龙文</author><comments>http://blog.csdn.net/LovinChan/archive/2008/11/13/3291717.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/LovinChan/archive/2008/11/13/3291717.aspx</guid><dc:creator>陈龙文</dc:creator><fs:srclink>http://blog.csdn.net/LovinChan/archive/2008/11/13/3291717.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/LovinChan/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/LovinChan/~7384553/223336175/5494072</fs:itemid></item><item><title>小小分页帮助程序</title><link>http://blog.csdn.net/LovinChan/archive/2008/08/25/2824955.aspx</link><wfw:comment>http://blog.csdn.net/LovinChan/comments/2824955.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/LovinChan/comments/commentRss/2824955.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2824955</trackback:ping><description>import java.util.List;import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse;/**&lt;img src =&quot;http://blog.csdn.net/LovinChan/aggbug/2824955.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/LovinChan/223336176/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/csdn.net/LovinChan/223336176/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 25 Aug 2008 09:01:00 +0800</pubDate><author>LovinChan</author><comments>http://blog.csdn.net/LovinChan/archive/2008/08/25/2824955.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/LovinChan/archive/2008/08/25/2824955.aspx</guid><dc:creator>LovinChan</dc:creator><fs:srclink>http://blog.csdn.net/LovinChan/archive/2008/08/25/2824955.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/LovinChan/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/LovinChan/~7384553/223336176/5494072</fs:itemid></item><item><title>将数字转为中文金额的大写方式（Java版）（小花了一点时间。呵呵）</title><link>http://blog.csdn.net/LovinChan/archive/2008/06/13/2542152.aspx</link><wfw:comment>http://blog.csdn.net/LovinChan/comments/2542152.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/LovinChan/comments/commentRss/2542152.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2542152</trackback:ping><description>/** * 程序目的： *   从命令行接收一个数，并将其转化为中文金额的大写方式 * 例如 123.45 --&gt; 壹佰贰拾叁元肆角伍分 * @author LovinChan * *   看到网上有很多这样的例子程序，不过觉得很不满意。有些程序我从命名上就觉得 * 实在是不符合规范，程序里面的算法没有让人明白得很清楚的注释，读上去觉得有 * 点难度，可读性不强。而且很多程序还存在不少bug，随便一测就测出来了。 *   所以本人还是决定重新写一下这个程序，并且尽量做到消除不必要的bug。这个程 * 序我没有用什么很精妙的算法，不过用了一些Java类库中的类，像是正则表达式之类 * 的东西。由于本人对算法不怎么在行，在做转换操作的时候用的是很笨的方法。望各位&amp;nb&lt;img src =&quot;http://blog.csdn.net/LovinChan/aggbug/2542152.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/LovinChan/223336177/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/csdn.net/LovinChan/223336177/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Fri, 13 Jun 2008 09:44:00 +0800</pubDate><author>LovinChan</author><comments>http://blog.csdn.net/LovinChan/archive/2008/06/13/2542152.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/LovinChan/archive/2008/06/13/2542152.aspx</guid><dc:creator>LovinChan</dc:creator><fs:srclink>http://blog.csdn.net/LovinChan/archive/2008/06/13/2542152.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/LovinChan/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/LovinChan/~7384553/223336177/5494072</fs:itemid></item><item><title>在一条充满荆棘的道路上...摸索着</title><link>http://blog.csdn.net/LovinChan/archive/2008/05/27/2486767.aspx</link><wfw:comment>http://blog.csdn.net/LovinChan/comments/2486767.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/LovinChan/comments/commentRss/2486767.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2486767</trackback:ping><description>      一个学期说过也就过得差不多了，这个学期上课上得巨少，也不知道是为什么，一种非常强烈的感觉，如果只是在学校里面老老实实上课，基本上是没得出息的，老师不会是我学到本事的先决条件，感觉老师越来越没用了。一切还是只能靠自己。 &lt;br /&gt;      也只怪上学期一不小心挂了一科，刚开学一阵情绪低落，觉得自己怎么这么不上进，但是现在看来，也不是这么回事的啦。这学期我学了很多。心里的求知欲也越来越强烈。自从第三周补考了以后，一直到现在我还没上过英语课，也不知道四级考试会考成什么样子，不过这些东西我倒是觉得挂的难度实在不大，越来越觉得几十个人的一个课堂这种制度真是不行，不知不觉就觉得浪费了好多时间，这学期学校里的课程真的可以说是纯粹的自学，不过也学得有滋有味的。老师实在没惹我，为什么我会觉得不喜欢上他的课呢？尤其是系统分析设计，其实这门课非常有用，我也很喜欢这门课，自己在看书的时候看得有滋有味，但是就是看那个老师觉得很不顺眼，去上课要就是去睡觉，要就是自己在看书，完全不&lt;img src =&quot;http://blog.csdn.net/LovinChan/aggbug/2486767.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/LovinChan/223336178/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/csdn.net/LovinChan/223336178/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 27 May 2008 22:32:00 +0800</pubDate><author>LovinChan</author><comments>http://blog.csdn.net/LovinChan/archive/2008/05/27/2486767.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/LovinChan/archive/2008/05/27/2486767.aspx</guid><dc:creator>LovinChan</dc:creator><fs:srclink>http://blog.csdn.net/LovinChan/archive/2008/05/27/2486767.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/LovinChan/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/LovinChan/~7384553/223336178/5494072</fs:itemid></item></channel></rss>