?? huffjman.cpp
字號(hào):
// Huffjman.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "iostream.h"
#include "Huf.h"
int main(int argc, char* argv[])
{
Huf haffman;
cout<<"輸入字符,以0結(jié)束!";
haffman.getlist();
haffman.b.Calculateweight(haffman.frelist,haffman.weight);
haffman.b.CreatTree(haffman.weight);
haffman.b.editcode(haffman.b.root);
haffman.b.CountLeaves(haffman.b.root);
haffman.b.Decode(haffman.words,haffman.numofwords,haffman.wordcode,haffman.numofcodes);
haffman.b.printcodes(haffman.wordcode,haffman.numofcodes);
return 0;
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -