﻿<?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>IT博客-.NETの場所-随笔分类-个人作品</title><link>http://www.cnitblog.com/tsorgy/category/5131.html</link><description>( ゜- ゜)つロ 乾杯~</description><language>zh-cn</language><lastBuildDate>Sun, 02 Oct 2011 23:49:59 GMT</lastBuildDate><pubDate>Sun, 02 Oct 2011 23:49:59 GMT</pubDate><ttl>60</ttl><item><title>对n个字符串进行字典排序~~~</title><link>http://www.cnitblog.com/tsorgy/archive/2008/06/07/45112.html</link><dc:creator>Tsanie</dc:creator><author>Tsanie</author><pubDate>Sat, 07 Jun 2008 07:29:00 GMT</pubDate><guid>http://www.cnitblog.com/tsorgy/archive/2008/06/07/45112.html</guid><wfw:comment>http://www.cnitblog.com/tsorgy/comments/45112.html</wfw:comment><comments>http://www.cnitblog.com/tsorgy/archive/2008/06/07/45112.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/tsorgy/comments/commentRss/45112.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/tsorgy/services/trackbacks/45112.html</trackback:ping><description><![CDATA[程序预览图：<br>&nbsp;&nbsp;&nbsp; 输入的第一行表示一共要排列多少个字符串<br>&nbsp;&nbsp;&nbsp; 其后输入的每行表示一个字符串<br><br>&nbsp;<img border=0 alt="" src="http://www.cnitblog.com/images/cnitblog_com/tsorgy/7237/o_StringOrder.jpg" width=247 height=569><br><br>
<div style="FONT-SIZE: 10pt; FONT-FAMILY: Courier New"><span style="COLOR: #0000ff">import</span><span style="COLOR: #000000"> java.io.</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #0000ff">import</span><span style="COLOR: #000000"> java.util.</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008000">/**</span><span style="COLOR: #008000"><br>&nbsp;* 字典排序<br>&nbsp;* <br>&nbsp;* </span><span style="COLOR: #808080">@author</span><span style="COLOR: #008000"> 黑色珊瑚 tsorgy<br>&nbsp;* </span><span style="COLOR: #808080">@version</span><span style="COLOR: #008000"> 1.0<br></span><span style="COLOR: #008000">&nbsp;*/</span><span style="COLOR: #000000"><br></span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">class</span><span style="COLOR: #000000"> StringOrder {<br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #008000">/**</span><span style="COLOR: #008000"><br>&nbsp;&nbsp;&nbsp;&nbsp; * </span><span style="COLOR: #808080">@param</span><span style="COLOR: #008000"> args<br>&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="COLOR: #008000">*/</span><span style="COLOR: #000000"><br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">public</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">void</span><span style="COLOR: #000000"> main(String[] args) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;BufferedReader br</span><span style="COLOR: #000000">=</span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000"> BufferedReader(</span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000"> InputStreamReader(System.in));<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String[] strings;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">try</span><span style="COLOR: #000000"> {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> n</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">Integer.parseInt(br.readLine());<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;strings</span><span style="COLOR: #000000">=</span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000"> String[n];<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} </span><span style="COLOR: #0000ff">catch</span><span style="COLOR: #000000"> (NumberFormatException nfe) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">输入的数字不合法！</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nfe.printStackTrace();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000">;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} </span><span style="COLOR: #0000ff">catch</span><span style="COLOR: #000000"> (IOException ioe) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ioe.printStackTrace();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000">;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000"> (</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> i</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">; i</span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">strings.length; ) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">try</span><span style="COLOR: #000000"> {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;strings[i]</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">br.readLine();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} </span><span style="COLOR: #0000ff">catch</span><span style="COLOR: #000000"> (IOException ioe) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">IO错误，此次输入不算</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ioe.printStackTrace();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000"> (</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> i</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">; i</span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">strings.length; i</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">\nCase </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">String.valueOf(i</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">)</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">:</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;orderString(strings[i]);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #008000">/**</span><span style="COLOR: #008000"><br>&nbsp;&nbsp;&nbsp;&nbsp; * 排列某一字符串<br>&nbsp;&nbsp;&nbsp;&nbsp; * </span><span style="COLOR: #808080">@param</span><span style="COLOR: #008000"> str 要排列的字符串<br>&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="COLOR: #008000">*/</span><span style="COLOR: #000000"><br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">private</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">void</span><span style="COLOR: #000000"> orderString(String str) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LinkedList</span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">String</span><span style="COLOR: #000000">&gt;</span><span style="COLOR: #000000"> lnkString</span><span style="COLOR: #000000">=</span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000"> LinkedList</span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">String</span><span style="COLOR: #000000">&gt;</span><span style="COLOR: #000000">();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">char</span><span style="COLOR: #000000">[] chars</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">str.toCharArray();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;orderChar(chars);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;str</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">String.valueOf(chars);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fillList(</span><span style="COLOR: #000000">""</span><span style="COLOR: #000000">,str,lnkString);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000"> (</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> i</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">; i</span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">lnkString.size(); i</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(lnkString.get(i));<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #008000">/**</span><span style="COLOR: #008000"><br>&nbsp;&nbsp;&nbsp;&nbsp; * 把字符串所有的排序可能放入 &lt;code&gt;LinkedList&lt;/code&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; * </span><span style="COLOR: #808080">@param</span><span style="COLOR: #008000"> print&nbsp;&nbsp;&nbsp;&nbsp;临时的前排字符串<br>&nbsp;&nbsp;&nbsp;&nbsp; * </span><span style="COLOR: #808080">@param</span><span style="COLOR: #008000"> str&nbsp;&nbsp;&nbsp;&nbsp;临时的后排字符串<br>&nbsp;&nbsp;&nbsp;&nbsp; * </span><span style="COLOR: #808080">@param</span><span style="COLOR: #008000"> lnkString&nbsp;&nbsp;&nbsp;&nbsp;存放结果的 &lt;code&gt;LinkedList&lt;/code&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="COLOR: #008000">*/</span><span style="COLOR: #000000"><br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">private</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">void</span><span style="COLOR: #000000"> fillList(String print, String str, LinkedList</span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">String</span><span style="COLOR: #000000">&gt;</span><span style="COLOR: #000000"> lnkString) { <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(str.length()</span><span style="COLOR: #000000">==</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String string</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">print</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">str;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000"> (</span><span style="COLOR: #000000">!</span><span style="COLOR: #000000">lnkString.contains(string))&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">如果这组排列已经有过了，则不加入（重复字符时）</span><span style="COLOR: #008000"><br></span><span style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lnkString.add(string);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000">(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> i</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;i</span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">str.length();i</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fillList(print</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">str.charAt(i),str.substring(</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">,i)</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">str.substring(i</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">,str.length()),lnkString);<br>&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #008000">/**</span><span style="COLOR: #008000"><br>&nbsp;&nbsp;&nbsp;&nbsp; * 从小到大排序字符数组&lt;br&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; * 比如：把 'z','C','B','a','A' 排序成 'A','a','B','C','z'<br>&nbsp;&nbsp;&nbsp;&nbsp; * </span><span style="COLOR: #808080">@param</span><span style="COLOR: #008000"> chs 要排序的字符数组<br>&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="COLOR: #008000">*/</span><span style="COLOR: #000000"><br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">private</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">void</span><span style="COLOR: #000000"> orderChar(</span><span style="COLOR: #0000ff">char</span><span style="COLOR: #000000">[] chs) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000"> (</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> i</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">; i</span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">chs.length; i</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000"> (</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> j</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">; j</span><span style="COLOR: #000000">&lt;</span><span style="COLOR: #000000">chs.length</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">i; j</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000"> (Character.toUpperCase(chs[j])</span><span style="COLOR: #000000">&gt;</span><span style="COLOR: #000000">Character.toUpperCase(chs[j</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">])) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">char</span><span style="COLOR: #000000"> c</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">chs[j];<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;chs[j]</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">chs[j</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">];<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;chs[j</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">]</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">c;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} </span><span style="COLOR: #0000ff">else</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000"> (chs[j]</span><span style="COLOR: #000000">&gt;</span><span style="COLOR: #000000">chs[j</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">]) {&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">为了保证把'a','A','a'排序成'A','a','a'</span><span style="COLOR: #008000"><br></span><span style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="COLOR: #0000ff">char</span><span style="COLOR: #000000"> c</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">chs[j];<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;chs[j]</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">chs[j</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">];<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;chs[j</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">]</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">c;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br>&nbsp;&nbsp;&nbsp;&nbsp;}<br>}</span></div>
<br>
<img src ="http://www.cnitblog.com/tsorgy/aggbug/45112.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/tsorgy/" target="_blank">Tsanie</a> 2008-06-07 15:29 <a href="http://www.cnitblog.com/tsorgy/archive/2008/06/07/45112.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>做出来的第一个COM组件 —— Windows 外壳扩展~~~</title><link>http://www.cnitblog.com/tsorgy/archive/2008/05/29/44566.html</link><dc:creator>Tsanie</dc:creator><author>Tsanie</author><pubDate>Thu, 29 May 2008 13:46:00 GMT</pubDate><guid>http://www.cnitblog.com/tsorgy/archive/2008/05/29/44566.html</guid><wfw:comment>http://www.cnitblog.com/tsorgy/comments/44566.html</wfw:comment><comments>http://www.cnitblog.com/tsorgy/archive/2008/05/29/44566.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/tsorgy/comments/commentRss/44566.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/tsorgy/services/trackbacks/44566.html</trackback:ping><description><![CDATA[<img border=0 alt="" src="http://www.cnitblog.com/images/cnitblog_com/tsorgy/7273/o_TuneUp_Desktop.jpg" width=352 height=509><br><br>自己给自己鼓励一下~~~~
<img src ="http://www.cnitblog.com/tsorgy/aggbug/44566.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/tsorgy/" target="_blank">Tsanie</a> 2008-05-29 21:46 <a href="http://www.cnitblog.com/tsorgy/archive/2008/05/29/44566.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[原创]包含doc的珊瑚画板，几经更新，暂时成型~~（已打成jar包）</title><link>http://www.cnitblog.com/tsorgy/archive/2008/05/17/43839.html</link><dc:creator>Tsanie</dc:creator><author>Tsanie</author><pubDate>Sat, 17 May 2008 10:22:00 GMT</pubDate><guid>http://www.cnitblog.com/tsorgy/archive/2008/05/17/43839.html</guid><wfw:comment>http://www.cnitblog.com/tsorgy/comments/43839.html</wfw:comment><comments>http://www.cnitblog.com/tsorgy/archive/2008/05/17/43839.html#Feedback</comments><slash:comments>6</slash:comments><wfw:commentRss>http://www.cnitblog.com/tsorgy/comments/commentRss/43839.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/tsorgy/services/trackbacks/43839.html</trackback:ping><description><![CDATA[首先、写JavaDoc差点没累死我，太&#8230;&#8230;痛苦了~~~~~~~写完注释后代码总量猛增到2800行&nbsp; <br><br>利用 Graphics2D 的 Paint 接口实现渐变填充效果，，<br>另，，<font size=4><font color=red>剽窃</font></font>了一个小算法 -_= （n角星的绘制，按住Ctrl点击鼠标就会随机画出来一个）<br><br>改进了边界判断，不再是简单的以图形外切的最小矩形边界作为判断条件，用 Shape 的 contains(Point) 判断点是否在图形范围之内，更加精确（折线依然按照前者判断，毕竟不封闭曲线不好判断范围，即使能，也会造成&#8220;镂空&#8221;情况）<br><br>偶发现 JToolbar 真是个好东东，可以随意拖来拖去，打造属于自己的<span class=t_tag onclick=tagshow(event) href="tag.php?name=%B9%A4%D7%F7">工作</span>环境~~~<br><br><font size=4><font color=blue>最后，打成 Jar 包了，装了jre后直接双击就能打开，或者java.exe -jar tspaint.jar也能打开</font></font><br><br><font size=5><font color=red>打包文件下载</font></font>：<br><a href="http://www.cnitblog.com/Files/tsorgy/TsPaint.rar">http://www.cnitblog.com/Files/tsorgy/TsPaint.rar</a><br><br><font color=#ff0000 size=5>DOC效果图</font>：<br><img height=685 alt="" src="http://www.cnitblog.com/images/cnitblog_com/tsorgy/7237/o_tspaint_API.png" width=864 border=0><br><br><font color=#ff0000 size=5>运行截图</font>：<br><img height=550 alt="" src="http://www.cnitblog.com/images/cnitblog_com/tsorgy/7237/o_1.png" width=700 border=0><br><br><img height=550 alt="" src="http://www.cnitblog.com/images/cnitblog_com/tsorgy/7237/o_2.png" width=700 border=0><br><br><img height=224 alt="" src="http://www.cnitblog.com/images/cnitblog_com/tsorgy/7237/o_4.png" width=548 border=0><br><br><img src="http://www.cnitblog.com/images/cnitblog_com/tsorgy/7237/o_%e9%9a%8f%e6%84%8f%e6%90%ad%e9%85%8d%e5%b7%a5%e5%85%b7%e6%a0%8f.png" border=0><br><br><img src="http://www.cnitblog.com/images/cnitblog_com/tsorgy/7237/o_%e9%9a%8f%e6%84%8f%e6%90%ad%e9%85%8d%e5%b7%a5%e5%85%b7%e6%a0%8f2.png" border=0><br><br>
<img src ="http://www.cnitblog.com/tsorgy/aggbug/43839.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/tsorgy/" target="_blank">Tsanie</a> 2008-05-17 18:22 <a href="http://www.cnitblog.com/tsorgy/archive/2008/05/17/43839.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>用Java Swing写的画板~~~~~~（Swing的Windows缺省样式）~~~</title><link>http://www.cnitblog.com/tsorgy/archive/2008/05/15/43783.html</link><dc:creator>Tsanie</dc:creator><author>Tsanie</author><pubDate>Thu, 15 May 2008 11:32:00 GMT</pubDate><guid>http://www.cnitblog.com/tsorgy/archive/2008/05/15/43783.html</guid><wfw:comment>http://www.cnitblog.com/tsorgy/comments/43783.html</wfw:comment><comments>http://www.cnitblog.com/tsorgy/archive/2008/05/15/43783.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnitblog.com/tsorgy/comments/commentRss/43783.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/tsorgy/services/trackbacks/43783.html</trackback:ping><description><![CDATA[用 UIManager.setLookAndFeel( UIManager.getSystemLookAndFeelClassName()); 把界面样式改为当前Windows缺省样式<br>总体界面贴近Vista的画图了，，还多了个工具栏<br><br>重写了物体类，下分n个子类，物体对象更加明确，，方便以后扩充&#8230;&#8230;&#8230;&#8230;<br><br>新增：<br>┣━ 撤销：不过只能恢复已删除的物体，改变位置及大小的时候不激活撤销<br>┣━ 铅笔：用折线（多边曲线Polyline来代替，每个点的坐标都放入LinkedList里，设为X和Y）<br>┣━ 画笔粗细：Graphics2D支持的，，重画JPanel模仿微软画图的<span class=t_tag onclick=tagshow(event) href="tag.php?name=%D1%A1%D4%F1">选择</span>画笔粗细的组件&#8230;&#8230;&#8230;&#8230;<br>┣━ 渲染改进：画铅笔的时候只重画本身，不重画其他物体，提高渲染速度&#8230;&#8230;&#8230;&#8230;<br>┣━ 改变物体大小：选中物体的时候会有细节提示哪个点可以拖动大小（实心点可以拖动大小，其他的空心点不可）<br>┣━ 细节改变：不同状态的时候移动鼠标，状态栏提示信息更加准确，不会出现任意状态下鼠标按下、放开后在状态栏出现&#8220;已创建X个物体&#8221;<br>┣━ *****************************************<br>┗━ 其他的想不起了，细节改变比较多点&#8230;&#8230;&#8230;&#8230; <br><br><br><span style="COLOR: red">地址</span>：<a href="http://www.cnitblog.com/Files/tsorgy/TsPaint.rar">http://www.cnitblog.com/Files/tsorgy/TsPaint.rar<br></a><br><img height=550 alt="" src="http://www.cnitblog.com/images/cnitblog_com/tsorgy/7237/o_1.jpg" width=700 border=0><br><br><img height=554 alt="" src="http://www.cnitblog.com/images/cnitblog_com/tsorgy/7237/o_2.jpg" width=702 border=0><br><br><img height=553 alt="" src="http://www.cnitblog.com/images/cnitblog_com/tsorgy/7237/o_3.jpg" width=703 border=0><br><br><img height=553 alt="" src="http://www.cnitblog.com/images/cnitblog_com/tsorgy/7237/o_4.jpg" width=704 border=0><br><br><img height=550 alt="" src="http://www.cnitblog.com/images/cnitblog_com/tsorgy/7237/o_5.jpg" width=700 border=0> 
<img src ="http://www.cnitblog.com/tsorgy/aggbug/43783.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/tsorgy/" target="_blank">Tsanie</a> 2008-05-15 19:32 <a href="http://www.cnitblog.com/tsorgy/archive/2008/05/15/43783.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>第一个满意的汇编程序~~~~~</title><link>http://www.cnitblog.com/tsorgy/archive/2008/04/09/42181.html</link><dc:creator>Tsanie</dc:creator><author>Tsanie</author><pubDate>Wed, 09 Apr 2008 13:07:00 GMT</pubDate><guid>http://www.cnitblog.com/tsorgy/archive/2008/04/09/42181.html</guid><wfw:comment>http://www.cnitblog.com/tsorgy/comments/42181.html</wfw:comment><comments>http://www.cnitblog.com/tsorgy/archive/2008/04/09/42181.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/tsorgy/comments/commentRss/42181.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/tsorgy/services/trackbacks/42181.html</trackback:ping><description><![CDATA[<p><font style="BACKGROUND-COLOR: #f4f4f4">包含2个函数，分别是16进制数的输入输出函数，加了注释<br><br>总体来说比较满意，不过还是觉得代码臃肿了点，高手帮我优化一下下哈~~~<br><br><br></font></p>
<p style="FONT-FAMILY: Courier New">data segment<br>&nbsp;str1 db 'Enter a No. of 16 hexadecimal: $'<br>&nbsp;str2 db 'The Result: BX=$'<br>data ends<br>code segment<br>&nbsp;assume cs:code,ds:data<br>start:<br>&nbsp;mov ax,data<br>&nbsp;mov ds,ax<br>&nbsp;lea dx,str1<br>&nbsp;mov ah,9<br>&nbsp;int 21h<br>&nbsp;call scanH&nbsp;&nbsp;&nbsp;;调用输入函数<br>&nbsp;<br>&nbsp;mov dl,0ah<br>&nbsp;mov ah,2<br>&nbsp;int 21h<br>&nbsp;mov dl,0dh<br>&nbsp;int 21h</p>
<p style="FONT-FAMILY: Courier New">&nbsp;lea dx,str2<br>&nbsp;mov ah,9<br>&nbsp;int 21h<br>&nbsp;call printH&nbsp;&nbsp;&nbsp;;调用显示16进制数字函数</p>
<p style="FONT-FAMILY: Courier New">&nbsp;mov ah,4ch<br>&nbsp;int 21h</p>
<p style="FONT-FAMILY: Courier New">;接收4位的16进制数<br>;入口:无<br>;出口:bx<br>scanH proc near<br>&nbsp;push dx<br>&nbsp;push cx<br>&nbsp;push ax<br>&nbsp;mov bx,0&nbsp;&nbsp;&nbsp;;初始化寄存器bx<br>&nbsp;mov cx,404h&nbsp;&nbsp;&nbsp;;高8位用来计数,低8位存放位移位数<br>ls_in:<br>&nbsp;shl bx,cl&nbsp;&nbsp;&nbsp;;bx向左移4位<br>lp_in:<br>&nbsp;mov ah,8h&nbsp;&nbsp;&nbsp;;8号中断-输入一个字符,不回显<br>&nbsp;int 21h<br>&nbsp;<br>&nbsp;cmp al,08h&nbsp;&nbsp;&nbsp;;判断是不是退格键<br>&nbsp;jz bs_in</p>
<p style="FONT-FAMILY: Courier New">&nbsp;jmp if_in&nbsp;&nbsp;&nbsp;;不是的话,跳转<br>bs_in:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;如果是退格键的话<br>&nbsp;cmp ch,4<br>&nbsp;jge lp_in&nbsp;&nbsp;&nbsp;;没有可以删除的数字,跳回</p>
<p style="FONT-FAMILY: Courier New">&nbsp;mov ah,2h<br>&nbsp;mov dl,al<br>&nbsp;int 21h<br>&nbsp;mov dl,20h<br>&nbsp;int 21h<br>&nbsp;mov dl,08h<br>&nbsp;int 21h&nbsp;&nbsp;&nbsp;&nbsp;;清除上一个字符</p>
<p style="FONT-FAMILY: Courier New">&nbsp;inc ch<br>&nbsp;shr bx,cl<br>&nbsp;and bl,0f0h&nbsp;&nbsp;&nbsp;;bl最后4位清零<br>&nbsp;jmp lp_in</p>
<p style="FONT-FAMILY: Courier New">if_in:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;;判断输入的字符是否合法(0-9或a-f)<br>&nbsp;cmp al,30h<br>&nbsp;jl lp_in<br>&nbsp;cmp al,66h<br>&nbsp;jg lp_in<br>&nbsp;cmp al,39h<br>&nbsp;jle do_in<br>&nbsp;cmp al,61h<br>&nbsp;jge do_in<br>&nbsp;<br>&nbsp;jmp lp_in<br>&nbsp;<br>do_in:<br>&nbsp;mov ah,2<br>&nbsp;mov dl,al<br>&nbsp;int 21h&nbsp;&nbsp;&nbsp;&nbsp;;把输入的字符显示出来,因为使用的是不回显中断<br>&nbsp;cmp al,61h<br>&nbsp;jl next1_in&nbsp;&nbsp;&nbsp;;如果输入的是0-9,跳转<br>&nbsp;sub al,'a'<br>&nbsp;add al,0ah&nbsp;&nbsp;&nbsp;;转换成16进制对应的数字<br>&nbsp;jmp next2_in<br>next1_in:<br>&nbsp;sub al,'0'&nbsp;&nbsp;&nbsp;;把Asc码转换成对应数字0-9<br>next2_in:<br>&nbsp;or bl,al&nbsp;&nbsp;&nbsp;;把结果填入bx最后4位<br>&nbsp;<br>&nbsp;dec ch&nbsp;&nbsp;&nbsp;&nbsp;;ch自减<br>&nbsp;cmp ch,0&nbsp;&nbsp;&nbsp;;判断是否循环结束<br>&nbsp;jg ls_in</p>
<p style="FONT-FAMILY: Courier New">&nbsp;pop ax<br>&nbsp;pop cx<br>&nbsp;pop dx<br>&nbsp;ret<br>scanH endp</p>
<p style="FONT-FAMILY: Courier New">;显示16进制数<br>;入口:bx<br>;出口:无<br>printH proc near<br>&nbsp;push dx<br>&nbsp;push cx<br>&nbsp;push ax<br>&nbsp;mov cx,404h<br>lp_print:<br>&nbsp;rol bx,cl&nbsp;&nbsp;&nbsp;;bx中数字向左循环移4位<br>&nbsp;mov al,bl<br>&nbsp;and al,0fh<br>&nbsp;cmp al,0ah&nbsp;&nbsp;&nbsp;;判断al中数字与10的大小关系<br>&nbsp;jl next_print<br>&nbsp;add al,7&nbsp;&nbsp;&nbsp;;大于等于10的话先+7<br>next_print:<br>&nbsp;add al,'0'&nbsp;&nbsp;&nbsp;;把数字0-9转换成对应Asc码<br>&nbsp;mov dl,al<br>&nbsp;mov ah,2<br>&nbsp;int 21h&nbsp;&nbsp;&nbsp;&nbsp;;显示出来<br>&nbsp;<br>&nbsp;dec ch&nbsp;&nbsp;&nbsp;&nbsp;;ch自减1<br>&nbsp;cmp ch,0<br>&nbsp;ja lp_print<br>&nbsp;<br>&nbsp;pop ax<br>&nbsp;pop cx<br>&nbsp;pop dx<br>&nbsp;ret<br>printH endp<br>code ends<br>&nbsp;end start<br></p>
<img src ="http://www.cnitblog.com/tsorgy/aggbug/42181.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/tsorgy/" target="_blank">Tsanie</a> 2008-04-09 21:07 <a href="http://www.cnitblog.com/tsorgy/archive/2008/04/09/42181.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>ChapCuttor 8.4 源代码~~~~</title><link>http://www.cnitblog.com/tsorgy/archive/2008/03/30/41686.html</link><dc:creator>Tsanie</dc:creator><author>Tsanie</author><pubDate>Sun, 30 Mar 2008 07:14:00 GMT</pubDate><guid>http://www.cnitblog.com/tsorgy/archive/2008/03/30/41686.html</guid><wfw:comment>http://www.cnitblog.com/tsorgy/comments/41686.html</wfw:comment><comments>http://www.cnitblog.com/tsorgy/archive/2008/03/30/41686.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.cnitblog.com/tsorgy/comments/commentRss/41686.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/tsorgy/services/trackbacks/41686.html</trackback:ping><description><![CDATA[今天，，学校，，还可以，，，所以，，，上传个源代码。。。。嗯，，，就这样<br><br><br>地址：<a href="http://www.cnitblog.com/Files/tsorgy/ChapCuttor_8_4_source.rar">http://www.cnitblog.com/Files/tsorgy/ChapCuttor_8_4_source.rar</a>
<img src ="http://www.cnitblog.com/tsorgy/aggbug/41686.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/tsorgy/" target="_blank">Tsanie</a> 2008-03-30 15:14 <a href="http://www.cnitblog.com/tsorgy/archive/2008/03/30/41686.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>章节分割器 8.4版，弥补某种Bug（Mp3的Bug，，非软件Bug）~~~~  - =</title><link>http://www.cnitblog.com/tsorgy/archive/2008/03/05/40546.html</link><dc:creator>Tsanie</dc:creator><author>Tsanie</author><pubDate>Wed, 05 Mar 2008 10:50:00 GMT</pubDate><guid>http://www.cnitblog.com/tsorgy/archive/2008/03/05/40546.html</guid><wfw:comment>http://www.cnitblog.com/tsorgy/comments/40546.html</wfw:comment><comments>http://www.cnitblog.com/tsorgy/archive/2008/03/05/40546.html#Feedback</comments><slash:comments>36</slash:comments><wfw:commentRss>http://www.cnitblog.com/tsorgy/comments/commentRss/40546.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/tsorgy/services/trackbacks/40546.html</trackback:ping><description><![CDATA[<p><span style="FONT-SIZE: 18pt">昨天有个同学说他机子有个Bug ，就是显示小说的时候每个文件尾总要少几个字符。<br>于是针对这种情况，我给8.4版加了一个功能&#8220;自定义广告&#8221;，可以在每个文件末尾加入指定字符串。<br></span></p>
<p>当然，机子没这种Bug的朋友觉得没必要就不需要下了哈，，，，嘿嘿&nbsp;&nbsp;&nbsp; <img height=20 src="http://www.cnitblog.com/Emoticons/QQ/14.gif" width=20 border=0><img height=20 src="http://www.cnitblog.com/Emoticons/QQ/14.gif" width=20 border=0><img height=20 src="http://www.cnitblog.com/Emoticons/QQ/14.gif" width=20 border=0></p>
<br><span style="COLOR: red">下载地址：</span><br><a href="http://www.cnitblog.com/Files/tsorgy/ChapCuttor_8_4.rar">http://www.cnitblog.com/Files/tsorgy/ChapCuttor_8_4.rar</a>
<img src ="http://www.cnitblog.com/tsorgy/aggbug/40546.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/tsorgy/" target="_blank">Tsanie</a> 2008-03-05 18:50 <a href="http://www.cnitblog.com/tsorgy/archive/2008/03/05/40546.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[修正补丁]~~~章节分割器 v8.3.1（修复了托盘菜单没响应和列表项选定后颜色不变的Bug）</title><link>http://www.cnitblog.com/tsorgy/archive/2008/02/25/40115.html</link><dc:creator>Tsanie</dc:creator><author>Tsanie</author><pubDate>Mon, 25 Feb 2008 06:38:00 GMT</pubDate><guid>http://www.cnitblog.com/tsorgy/archive/2008/02/25/40115.html</guid><wfw:comment>http://www.cnitblog.com/tsorgy/comments/40115.html</wfw:comment><comments>http://www.cnitblog.com/tsorgy/archive/2008/02/25/40115.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/tsorgy/comments/commentRss/40115.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/tsorgy/services/trackbacks/40115.html</trackback:ping><description><![CDATA[地址如下：<a href="http://www.cnitblog.com/Files/tsorgy/ChapCuttor_8.3.1Fix.rar" target=_blank><u><font color=#006699>http://www.cnitblog.com/Files/tsorgy/ChapCuttor_8.3.1Fix.rar</font></u></a><br><br>下载后就一个文件，覆盖掉主程序即可。<br><br>谢谢大家支持~~~~
<img src ="http://www.cnitblog.com/tsorgy/aggbug/40115.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/tsorgy/" target="_blank">Tsanie</a> 2008-02-25 14:38 <a href="http://www.cnitblog.com/tsorgy/archive/2008/02/25/40115.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>正式版 章节分割器 v8.3(增加错误日志收集,增强稳定性)</title><link>http://www.cnitblog.com/tsorgy/archive/2008/02/19/39967.html</link><dc:creator>Tsanie</dc:creator><author>Tsanie</author><pubDate>Tue, 19 Feb 2008 14:12:00 GMT</pubDate><guid>http://www.cnitblog.com/tsorgy/archive/2008/02/19/39967.html</guid><wfw:comment>http://www.cnitblog.com/tsorgy/comments/39967.html</wfw:comment><comments>http://www.cnitblog.com/tsorgy/archive/2008/02/19/39967.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/tsorgy/comments/commentRss/39967.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/tsorgy/services/trackbacks/39967.html</trackback:ping><description><![CDATA[增加错误日志收集，增强稳定性，若是出错了请发送err.log文件到偶的邮箱里，偶协助你处理问题。。<br><br>下载地址<br><a href="http://www.cnitblog.com/Files/tsorgy/ChapCuttor_8_3.rar">http://www.cnitblog.com/Files/tsorgy/ChapCuttor_8_3.rar</a><br><br><img height=356 alt="" src="http://www.cnitblog.com/images/cnitblog_com/tsorgy/6811/o_err.JPG" width=385 border=0><br><br><img height=361 alt="" src="http://www.cnitblog.com/images/cnitblog_com/tsorgy/6811/o_errlog.JPG" width=435 border=0>
<img src ="http://www.cnitblog.com/tsorgy/aggbug/39967.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/tsorgy/" target="_blank">Tsanie</a> 2008-02-19 22:12 <a href="http://www.cnitblog.com/tsorgy/archive/2008/02/19/39967.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>新版 v8.2.19~（又来了）</title><link>http://www.cnitblog.com/tsorgy/archive/2008/02/18/39895.html</link><dc:creator>Tsanie</dc:creator><author>Tsanie</author><pubDate>Mon, 18 Feb 2008 14:17:00 GMT</pubDate><guid>http://www.cnitblog.com/tsorgy/archive/2008/02/18/39895.html</guid><wfw:comment>http://www.cnitblog.com/tsorgy/comments/39895.html</wfw:comment><comments>http://www.cnitblog.com/tsorgy/archive/2008/02/18/39895.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnitblog.com/tsorgy/comments/commentRss/39895.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/tsorgy/services/trackbacks/39895.html</trackback:ping><description><![CDATA[<p>再次出现，修正一些小小Bug（输出文件名中去掉章节名首尾半角空格、可手动修改输出路径）~~~~~</p>
<p><a href="http://www.cnitblog.com/Files/tsorgy/ChapCuttor_8_2_19.rar"><u><font color=#0000ff>http://www.cnitblog.com/Files/tsorgy/ChapCuttor_8_2_19.rar</font></u></a><br><br>这些版本除错处理不够理想，我会在下版中改进的&#8230;&#8230;</p>
<p>上次版本:</p>
<p><a href="http://www.cnitblog.com/Files/tsorgy/ChapCuttor_8_2_15.rar"><u><font color=#0000ff>http://www.cnitblog.com/Files/tsorgy/ChapCuttor_8_2_15.rar</font></u></a></p>
<img src ="http://www.cnitblog.com/tsorgy/aggbug/39895.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/tsorgy/" target="_blank">Tsanie</a> 2008-02-18 22:17 <a href="http://www.cnitblog.com/tsorgy/archive/2008/02/18/39895.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>贺岁版 章节分割器 v3.2.7 （带图）</title><link>http://www.cnitblog.com/tsorgy/archive/2008/02/07/39644.html</link><dc:creator>Tsanie</dc:creator><author>Tsanie</author><pubDate>Thu, 07 Feb 2008 10:15:00 GMT</pubDate><guid>http://www.cnitblog.com/tsorgy/archive/2008/02/07/39644.html</guid><wfw:comment>http://www.cnitblog.com/tsorgy/comments/39644.html</wfw:comment><comments>http://www.cnitblog.com/tsorgy/archive/2008/02/07/39644.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.cnitblog.com/tsorgy/comments/commentRss/39644.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/tsorgy/services/trackbacks/39644.html</trackback:ping><description><![CDATA[<p><font face=微软雅黑>　　大家，春节快乐！！<br>　　本软件当前版本：<font color=#0000ff>v3.2.7 贺岁版</font></font></p>
<p><font face=微软雅黑>　　<font color=#ff0000>下载地址：</font><a href="http://www.cnitblog.com/Files/tsorgy/ChapCuttor_3.2.7.rar" target=_blank><font color=#a0afbd size=2><u>http://www.cnitblog.com/Files/tsorgy/ChapCuttor_3.2.7.rar</u></font></a></font></p>
<p><span style="COLOR: red">　　2月9日11点12分更新：<br>　　　&#183;更改了文件重复对话框的Bug（无论按什么按钮，返回值都是&#8220;&lt;取消&gt;&#8221;&nbsp; - -#）<br>　　　&#183;地址不变，还是上述地址<br></span><font face=微软雅黑><br>　　分析、分割速度更快，功能更加丰富，可以修改章节标题名，章节序号，等等&#8230;&#8230;<br>　　选项界面作为独立窗口出现，使主界面变得很清爽，用XML配置文件储存选项设置（原来不设置是因为偶喜欢单文件绿色软件）不写注册表。<br>　　兼容&#8220;微软雅黑&#8221;字体，安装后无需设置即可在程序中看到新字体，界面更加美观！！<br>　　刚刚赶制出来，关于对话框还没设计好，咳咳，就先这么写吧！ - -#<br>　　最后，再次祝愿大家春节快乐！！<br>2008-2-7 星期四 16:45<br>黑色珊瑚</font></p>
<p>&nbsp;<a href="http://blog.cfan.com.cn/attachments/2008/02/273901_200802071809101.png" target=_blank><img style="DISPLAY: block; MARGIN: 0px auto 10px; TEXT-ALIGN: center" alt="" src="http://blog.cfan.com.cn/attachments/2008/02/273901_200802071809101.png" border=0></a></p>
<p><font face=微软雅黑>　　选项设置都保存在一个本地文件中，避免每次都要做出相应更改&#8230;&#8230;</font></p>
<p><a href="http://blog.cfan.com.cn/attachments/2008/02/273901_200802071809102.png" target=_blank><img style="DISPLAY: block; MARGIN: 0px auto 10px; TEXT-ALIGN: center" alt="" src="http://blog.cfan.com.cn/attachments/2008/02/273901_200802071809102.png" border=0></a></p>
<p><font face=微软雅黑>　　输出完毕后，如果主界面处于隐藏状态中，那么通过设置（默认开启）可以在托盘区出现一个气泡提示框，单击显示主界面。</font></p>
<p><a href="http://blog.cfan.com.cn/attachments/2008/02/273901_200802071809103.png" target=_blank><img style="DISPLAY: block; MARGIN: 0px auto 10px; TEXT-ALIGN: center" alt="" src="http://blog.cfan.com.cn/attachments/2008/02/273901_200802071809103.png" border=0></a></p>
<p><a href="http://blog.cfan.com.cn/attachments/2008/02/273901_200802071809104.png" target=_blank><img style="DISPLAY: block; MARGIN: 0px auto 10px; TEXT-ALIGN: center" alt="" src="http://blog.cfan.com.cn/attachments/2008/02/273901_200802071809104.png" border=0></a></p>
<p><font face=微软雅黑>　　输入框，高仿Visual Basic 的InputBox，不过加了个图标美观一点点&#8230;&#8230; - -#</font></p>
<p><a href="http://blog.cfan.com.cn/attachments/2008/02/273901_200802071809105.png" target=_blank><img style="DISPLAY: block; MARGIN: 0px auto 10px; TEXT-ALIGN: center" alt="" src="http://blog.cfan.com.cn/attachments/2008/02/273901_200802071809105.png" border=0></a></p>
<p><font face=微软雅黑>　　提供了更人性化的设计——如果发现重名文件，可以在下面的对话框里重命名，不必担心覆盖其他文件，以前版本中则没有此功能。</font></p>
<p><a href="http://blog.cfan.com.cn/attachments/2008/02/273901_200802071809106.png" target=_blank><img style="DISPLAY: block; MARGIN: 0px auto 10px; TEXT-ALIGN: center" alt="" src="http://blog.cfan.com.cn/attachments/2008/02/273901_200802071809106.png" border=0></a></p>
<p><font face=微软雅黑>　　最后，恭祝大家新春快乐！万事如意！！</font></p>
<p><font face=微软雅黑>　　黑色珊瑚 写于 2008年2月7日。</font></p>
<img src ="http://www.cnitblog.com/tsorgy/aggbug/39644.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/tsorgy/" target="_blank">Tsanie</a> 2008-02-07 18:15 <a href="http://www.cnitblog.com/tsorgy/archive/2008/02/07/39644.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>新版章节切割器 Chaps_2.2.4 （图） </title><link>http://www.cnitblog.com/tsorgy/archive/2008/02/04/39600.html</link><dc:creator>Tsanie</dc:creator><author>Tsanie</author><pubDate>Mon, 04 Feb 2008 10:10:00 GMT</pubDate><guid>http://www.cnitblog.com/tsorgy/archive/2008/02/04/39600.html</guid><wfw:comment>http://www.cnitblog.com/tsorgy/comments/39600.html</wfw:comment><comments>http://www.cnitblog.com/tsorgy/archive/2008/02/04/39600.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/tsorgy/comments/commentRss/39600.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/tsorgy/services/trackbacks/39600.html</trackback:ping><description><![CDATA[<p><font face=微软雅黑>终于搞定了，改版了，用VS2005，C#编写，需要.NET Framework 2.0支持&#8230;&#8230;</font></p>
<p><a href="http://pp.sohu.com/photoview-170347889-3366725.html" target=_blank><img style="DISPLAY: block; MARGIN: 0px auto 10px; TEXT-ALIGN: center" alt="" src="http://121.img.pp.sohu.com/images/2008/2/4/17/24/118813839a6.jpg" border=0 zmxid="zoomXimageId11"></a></p>
<p><font face=微软雅黑>速度更快，界面更清晰，可以保存最新设置（原来不加这个功能是因为偶喜欢单文件绿色程序 - -#）</font></p>
<p><font face=微软雅黑>那个&#8230;&#8230;那个&#8220;转换为简体&#8221;我还没有实现，要下版了， - -#</font></p>
<p><font face=微软雅黑>最新版本(c#编写)：<a href="http://www.cnitblog.com/Files/tsorgy/Chaps_2.2.4.rar" target=_blank><u><font color=#90a08c size=2>Chaps_2.2.4.rar</font></u></a></font></p>
<p><font face=微软雅黑>.NET Framework 2.0 下载地址：</font></p>
<p><font face=微软雅黑>（pchome）：<a href="http://download.pchome.net/development/developtools/translater/21850.html"><u><font color=#90a08c size=2>http://download.pchome.net/development/developtools/translater/21850.html</font></u></a></font></p>
<p><font face=微软雅黑>（微软）：<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&amp;displaylang=zh-cn"><u><font color=#90a08c size=2>http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&amp;displaylang=zh-cn</font></u></a></font></p>
<p><font face=微软雅黑>（华军）：<a href="http://www.onlinedown.net/soft/38669.htm"><u><font color=#90a08c size=2>http://www.onlinedown.net/soft/38669.htm</font></u></a></font></p>
<p>&nbsp;</p>
<img src ="http://www.cnitblog.com/tsorgy/aggbug/39600.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/tsorgy/" target="_blank">Tsanie</a> 2008-02-04 18:10 <a href="http://www.cnitblog.com/tsorgy/archive/2008/02/04/39600.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>再次更新 v2.1 Beta 627</title><link>http://www.cnitblog.com/tsorgy/archive/2007/06/27/29108.html</link><dc:creator>Tsanie</dc:creator><author>Tsanie</author><pubDate>Wed, 27 Jun 2007 04:15:00 GMT</pubDate><guid>http://www.cnitblog.com/tsorgy/archive/2007/06/27/29108.html</guid><wfw:comment>http://www.cnitblog.com/tsorgy/comments/29108.html</wfw:comment><comments>http://www.cnitblog.com/tsorgy/archive/2007/06/27/29108.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/tsorgy/comments/commentRss/29108.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/tsorgy/services/trackbacks/29108.html</trackback:ping><description><![CDATA[由一个网友提的Bug而修正的版本<br>有的小说每章正文行数很少，只要少于10行（我原来默认的行数），就会被过滤掉<img height=50 alt="" src="http://blog.cfan.com.cn/attachments/2007/06/273901_200706251702566.gif" width=50 border=0><br><br>所以我加了个选项 ——— &#8220;过滤无效标题&#8221;，而且可以自定义正文多少行之内为无效标题<br><br>这样就好多啦~~~<br><br><br>下载：<br>工具(67KB)：<a href="http://www.cnitblog.com/Files/tsorgy/Chaps_v2.1.627.rar">http://www.cnitblog.com/Files/tsorgy/Chaps_v2.1.627.rar</a><br>源代码(213KB)：<a href="http://www.cnitblog.com/Files/tsorgy/Chaps(vb-source).rar">http://www.cnitblog.com/Files/tsorgy/Chaps(vb-source).rar</a><br><br>截图：<br><br><img height=449 alt="" src="http://www.cnitblog.com/images/cnitblog_com/tsorgy/5130/r_Chaps_v2.1.627.jpg" width=624 border=0>
<img src ="http://www.cnitblog.com/tsorgy/aggbug/29108.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/tsorgy/" target="_blank">Tsanie</a> 2007-06-27 12:15 <a href="http://www.cnitblog.com/tsorgy/archive/2007/06/27/29108.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>新版本 Chaps v2.1 Beta 0626 ~~~~</title><link>http://www.cnitblog.com/tsorgy/archive/2007/06/26/29082.html</link><dc:creator>Tsanie</dc:creator><author>Tsanie</author><pubDate>Tue, 26 Jun 2007 08:03:00 GMT</pubDate><guid>http://www.cnitblog.com/tsorgy/archive/2007/06/26/29082.html</guid><wfw:comment>http://www.cnitblog.com/tsorgy/comments/29082.html</wfw:comment><comments>http://www.cnitblog.com/tsorgy/archive/2007/06/26/29082.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/tsorgy/comments/commentRss/29082.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/tsorgy/services/trackbacks/29082.html</trackback:ping><description><![CDATA[新版本中添加了托盘图标，可以最小化到托盘区，而且在输出文件时最小化，可以看到托盘图标的动态进度表示（类似于WinRAR的后台处理）&#8230;&#8230;<br><br>下载(67KB)：<a href="http://www.cnitblog.com/Files/tsorgy/Chaps_v2.1.0626.rar">http://www.cnitblog.com/Files/tsorgy/Chaps_v2.1.0626.rar</a><br>源代码(214KB)：<a href="http://www.cnitblog.com/Files/tsorgy/Chaps(vb-source).rar">http://www.cnitblog.com/Files/tsorgy/Chaps(vb-source).rar</a><br><br><img height=449 alt="" src="http://blog.cfan.com.cn/attachments/2007/06/273901_200706261524241.jpg" width=624 border=0>
<img src ="http://www.cnitblog.com/tsorgy/aggbug/29082.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/tsorgy/" target="_blank">Tsanie</a> 2007-06-26 16:03 <a href="http://www.cnitblog.com/tsorgy/archive/2007/06/26/29082.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>章节分割器 v2.0 Beta0618 版</title><link>http://www.cnitblog.com/tsorgy/archive/2007/06/18/28691.html</link><dc:creator>Tsanie</dc:creator><author>Tsanie</author><pubDate>Mon, 18 Jun 2007 12:27:00 GMT</pubDate><guid>http://www.cnitblog.com/tsorgy/archive/2007/06/18/28691.html</guid><wfw:comment>http://www.cnitblog.com/tsorgy/comments/28691.html</wfw:comment><comments>http://www.cnitblog.com/tsorgy/archive/2007/06/18/28691.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/tsorgy/comments/commentRss/28691.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/tsorgy/services/trackbacks/28691.html</trackback:ping><description><![CDATA[<p><a title=点击此处下载 href="http://www.cnitblog.com/Files/tsorgy/Chaps%20v2.0%20Beta0618.rar" target=_blank><img src="http://blog.cfan.com.cn/attachments/2007/06/273901_200706191914551.jpg" border=0></a></p>
<p>下载：<a style="COLOR: #ff0000" href="http://www.cnitblog.com/Files/tsorgy/Chaps%20v2.0%20Beta0618.rar" target=_blank>点击此处下载</a></font></p>
<p>章节分割器 <font style="COLOR: #0000ff" color=#0080ff>v2.0 Beta0618</font><br>=====================================<br>　　一个把文本小说按照自定义条件切割成章节的软件，没有多么复杂的设置，基本上都简单易懂：</p>
<p>　　&#183;源文件：把下载的全本小说文件拖拽到文本框里（或单击右边的&#8220;&#8230;&#8221;按钮浏览打开），也可以拖拽到列表框里，而且会自动分析。</p>
<p>　　&#183;标题条件：一个匹配标题的正则表达式（建议使用默认设置），这里的正则表达式有个格式，第1个括号&#8220;()&#8221;内匹配的是章节号，第2个括号匹配的是章节类别（基本可以无视它的存在，不要动它），第3个括号匹配的是章节名称&#8230;&#8230;</p>
<p>　　&#183;输出文件：输出文件名的模板，软件内有关于各个参数的明显的说明，这里不再赘述&#8230;&#8230;（例如模板为&#8220;%n-%c%s&#8221;，输出文件名就是&#8220;001-1第一个标题&#8221;、&#8220;002-2第二个标题&#8221;、&#8220;003-3第三个标题&#8221;&#8230;&#8230;）</p>
<p>　　&#183;输出路径：切割文件输出的路径，&#8220;(default)&#8221;代表源文件目录下以小说名为默认输出目录。（例如源文件为&#8220;C:\小说.txt&#8221;，那么输出目录就是&#8220;C:\小说\&#8221;）</p>
<p>　　&#183;每个文件包含章节数：每个文件包含的章节数，不用详细介绍了吧，默认为1</p>
<p>　　&#183;每个目录文件数：把分得的多个文件分成每n个文件一个目录，0为不分目录。</p>
<p>　　&#183;过滤字符串：再分割文件时自动过滤掉某几个特定的字符串，用回车分割开。</p>
<p>　　&#183;排序按钮可以实时检查章节号对应文件号的正确与否&#8230;&#8230;</p>
<p>更新日志<br>=====================================<br><font color=#0080ff><strong><span style="COLOR: #0000ff">&#183;2007/06/19 版本更新 v2.0 Beta0618</span> </strong><a style="COLOR: #ff0000" href="http://www.cnitblog.com/Files/tsorgy/Chaps%20v2.0%20Beta0618.rar" target=_blank>点击此处下载</a><br><strong style="COLOR: #0000ff">　　加入了一个文件可以包含n个章节的功能&#8230;&#8230;</strong></font></p>
<p><font color=#0080ff>&#183;2007/06/19 版本更新 v1.0618 修正版 <a style="COLOR: #ff0000" href="http://www.cnitblog.com/Files/tsorgy/Chaps%20v1.0618.rar" target=_blank>点击此处下载</a><br>　　去掉了&#8220;另类自定义ListView控件&#8221;的添加图标功能（这个用不到吧&#8230;&#8230;）应该去除对msvbvm60.dll的API引用了&#8230;&#8230;&#8230;&#8230;</font></p>
<p>&#183;2007/06/18 版本更新 v1.0618<br>　　去掉了没个文件分n章节的功能，分割出来的文件都是一个章节一个文件<br>　　列表框借用了&#8220;枕善居 <a href="http://www.mndsoft.com/"><font color=#339999><u>http://www.mndsoft.com/</u></font></a>&#8221;的&#8220;另类自定义ListView控件&#8221;拥有了&#8220;选中行列高亮&#8221;的功能，高亮显示选中行列<br>　　新版本添加了&#8220;转换为简体&#8221;的功能，这样copy到mp3里就可以避免因为繁体而导致的乱码了</p>
<p>&#183;2007/05/15 版本更新 v1.0515<br>　　做了个自己用的版本，未发布，待以后完善后发布&#8230;&#8230;</p>
<p>&#183;2007/05/01 版本更新 v1.0501<br>　　支持正则表达式的搜索条件，可以近一步避免误选择</p>
<p>&#183;2007/04/15 版本更新 v1.0415 <a style="COLOR: #ff0000" href="http://www.cnitblog.com/Files/tsorgy/ChapCuttor_source_0415.rar" target=_blank>点击此处下载</a><br>　　解决了一些小Bugs，比如分割成每个文件1章的时候会出现的错误</p>
<p>&#183;2007/04/06 版本更新 v1.0406 <a style="COLOR: #ff0000" href="http://www.cnitblog.com/Files/tsorgy/ChapCuttor_source.rar" target=_blank>点击此处下载</a><br>　　初始版本。</p>
<img src ="http://www.cnitblog.com/tsorgy/aggbug/28691.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/tsorgy/" target="_blank">Tsanie</a> 2007-06-18 20:27 <a href="http://www.cnitblog.com/tsorgy/archive/2007/06/18/28691.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>章节分割器(Chap Cuttor) v1.0406 (附带源代码)</title><link>http://www.cnitblog.com/tsorgy/archive/2007/04/15/25738.html</link><dc:creator>Tsanie</dc:creator><author>Tsanie</author><pubDate>Sun, 15 Apr 2007 06:32:00 GMT</pubDate><guid>http://www.cnitblog.com/tsorgy/archive/2007/04/15/25738.html</guid><wfw:comment>http://www.cnitblog.com/tsorgy/comments/25738.html</wfw:comment><comments>http://www.cnitblog.com/tsorgy/archive/2007/04/15/25738.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.cnitblog.com/tsorgy/comments/commentRss/25738.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/tsorgy/services/trackbacks/25738.html</trackback:ping><description><![CDATA[v1.0415 版本更新<br>　　<a style="COLOR: #ff0000" href="http://www.cnitblog.com/Files/tsorgy/ChapCuttor_source_0415.rar">/Files/tsorgy/ChapCuttor_source_0415.rar</a><br>------------------------<br>　　解决了一些小Bugs，比如分割成每个文件1章的时候会出现的错误<br>　　加了&#8220;关于&#8221;（汗！~~原来都没有哈）<br><br>v1.0406<br>　　<a style="COLOR: #ff0000" href="http://www.cnitblog.com/Files/tsorgy/ChapCuttor_source.rar">/Files/tsorgy/ChapCuttor_source.rar</a><br>------------------------<br>　　初始版本。<br><br>现在小说分割器有按文件大小分的，有按行数分的，但我没找到能按章节分割的软件<br>于是我按照我自己的习惯编写了这个程序<br><br>选择好&#8220;输入文件&#8221;和&#8220;输出目录&#8221;以及&#8220;输出文件&#8221;和&#8220;每个文件章数&#8221;<br>（注：&#8220;输出文件&#8221;自动判断数字部分，例如：&#8220;<span style="COLOR: #ff0000"><strong>小说02</strong></span>&#8221;则按&#8220;<span style="COLOR: #008000"><strong>小说02.txt、小说03.txt</strong></span>&#8230;&#8221;依次类推）<br><br>在&#8220;查找条件&#8221;栏输入<span style="COLOR: #0000ff"><strong>章节标志性内容</strong></span>即可（<span style="COLOR: #ff0000">支持正则表达式，例如：<span style="COLOR: #008000"><strong>第(.){1,10}章</strong></span></span>）<br><br>然后点&#8220;分析&#8221;，再在下部列表框中选出不要的条件（例如：&#8220;<span style="COLOR: #008000"><strong>第一章 （完）</strong></span>&#8221;这样不是章节开始的标题）<br><br>最后点&#8220;输出&#8221;就完毕了！<a style="COLOR: #ff0000" href="http://www.cnitblog.com/Files/tsorgy/ChapCuttor_source.rar"><br></a><br><img height=426 alt="" src="http://www.cnitblog.com/images/cnitblog_com/tsorgy/5130/r_ChapCuttor.JPG" width=351 border=0> 
<img src ="http://www.cnitblog.com/tsorgy/aggbug/25738.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/tsorgy/" target="_blank">Tsanie</a> 2007-04-15 14:32 <a href="http://www.cnitblog.com/tsorgy/archive/2007/04/15/25738.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>