線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:1051
推到 Plurk!
推到 Facebook!

huffman 的壓縮....找不出BUG

缺席
deepking
一般會員


發表:8
回覆:7
積分:3
註冊:2008-06-03

發送簡訊給我
#1 引用回覆 回覆 發表時間:2008-12-12 17:32:08 IP:140.117.xxx.xxx 未訂閱
要是讀.txt都可以順利轉出<link rel="File-List" href="file:///C:\DOCUME~1\deep\LOCALS~1\Temp\msohtmlclip1\01\clip_filelist.xml" /><link rel="themeData" href="file:///C:\DOCUME~1\deep\LOCALS~1\Temp\msohtmlclip1\01\clip_themedata.thmx" /><link rel="colorSchemeMapping" href="file:///C:\DOCUME~1\deep\LOCALS~1\Temp\msohtmlclip1\01\clip_colorschememapping.xml" /><!--[if gte mso 9]><xml><br /> Normal 0 0 2 false false false EN-US ZH-TW X-NONE MicrosoftInternetExplorer4
</xml><![endif]--><!--[if gte mso 9]><xml><br />

</xml><![endif]--><style type="text/css"><br /><!--
/* Font Definitions */
@font-face
{font-family:新細明體;
panose-1:2 2 3 0 0 0 0 0 0 0;
mso-font-alt:PMingLiU;
mso-font-charset:136;
mso-generic-font-family:roman;
mso-font-pitch:variable;
mso-font-signature:3 135135232 22 0 1048577 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;
mso-font-charset:1;
mso-generic-font-family:roman;
mso-font-format:other;
mso-font-pitch:variable;
mso-font-signature:0 0 0 0 0 0;}
@font-face
{font-family:標楷體;
panose-1:3 0 5 9 0 0 0 0 0 0;
mso-font-charset:136;
mso-generic-font-family:script;
mso-font-pitch:fixed;
mso-font-signature:3 135135232 22 0 1048577 0;}
@font-face
{font-family:"\@標楷體";
panose-1:3 0 5 9 0 0 0 0 0 0;
mso-font-charset:136;
mso-generic-font-family:script;
mso-font-pitch:fixed;
mso-font-signature:3 135135232 22 0 1048577 0;}
@font-face
{font-family:"\@新細明體";
panose-1:2 2 3 0 0 0 0 0 0 0;
mso-font-charset:136;
mso-generic-font-family:roman;
mso-font-pitch:variable;
mso-font-signature:3 135135232 22 0 1048577 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
line-height:18.0pt;
mso-pagination:none;
mso-hyphenate:none;
font-size:12.0pt;
mso-bidi-font-size:10.0pt;
font-family:"Times New Roman","serif";
mso-fareast-font-family:新細明體;
mso-fareast-language:AR-SA;}
.MsoChpDefault
{mso-style-type:export-only;
mso-default-props:yes;
font-size:10.0pt;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
mso-ascii-font-family:"Times New Roman";
mso-fareast-font-family:新細明體;
mso-hansi-font-family:"Times New Roman";
mso-font-kerning:0pt;}
/* Page Definitions */
@page
{mso-page-border-surround-header:no;
mso-page-border-surround-footer:no;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
mso-header-margin:36.0pt;
mso-footer-margin:36.0pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style><!--[if gte mso 10]>
<style><br /> /* Style Definitions */
table.MsoNormalTable
{mso-style-name:表格內文;
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
mso-bidi-font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:新細明體;
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;
mso-font-kerning:1.0pt;}
</style><br />encoding table
但是讀.bmp or .exe 都會出問題...
一直找不出問題在哪...
可不可以幫我看看問題出在哪...?
rafb.net/p/B40TpD50.html

我好像找到一個錯誤,
我用小畫家隨便上點色,
拿來測試,
只讀到十種字元,
但在建樹時,
只讀入九筆,
所以當findcode到最後一筆時,
就會出現錯誤…
不過還不知道怎改…
要是有人知道~
麻煩教一下 XD
編輯記錄
deepking 重新編輯於 2008-12-12 17:51:11, 註解 無‧
deepking 重新編輯於 2008-12-12 19:52:49, 註解 無‧
deepking 重新編輯於 2008-12-15 10:18:52, 註解 無‧
deepking 重新編輯於 2008-12-15 11:32:49, 註解 無‧
deepking 重新編輯於 2008-12-15 18:02:00, 註解 無‧
系統時間:2024-04-25 9:38:24
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!