代码搜索:huffmancode
找到约 412 项符合「huffmancode」的源代码
代码结果 412
www.eeworm.com/read/417053/2104603
java huffman.java
public class HuffMan{
private String[] huffmanStr; //数符串
private int[] huffmanWeight;//对应的权值
private Elem[] huffmanTree;
// 哈夫曼编码表
private String[] huffmanCode;
// 字符个数
protected int
www.eeworm.com/read/204542/15337217
cpp 实验五034100549.cpp
#include
#include
#include
#include
struct HuffmanTree
{
int weight;
int parent,lchild,rchild;
char ch;
};
typedef char** HuffmanCode;
struct r
www.eeworm.com/read/250073/12436098
cpp huffmandlg.cpp
// HUFFMANDlg.cpp : implementation file
//
#include "stdafx.h"
#include "HUFFMAN.h"
#include "HUFFMANDlg.h"
#include "HUFFMANCODE.h"
#include "math.h"
#ifdef _DEBUG
#define new DEBUG_NEW
www.eeworm.com/read/391927/8372478
c 363707100.c
#include
#include
#define N 256
#define M 2*N-1
struct node
{
char ch;
int weight;
}Huffmancode[N];
struct NODE
{
int weight;
int parent;
int lc
www.eeworm.com/read/362752/9982195
c huffmanfile.c
#include "head.h"
#include "struct.h"
#include "declare.h"
int HuffmanFile(HuffmanCode HC,char *filename,CharArr *ch)//写入文件
{
FILE *codefile,*code;
char codename[]="codefile";
char c;
int i;
c
www.eeworm.com/read/327156/13096810
cpp huffman.cpp
#include
#include
#include
#include
using namespace std;
ofstream text("HuffmanCode.txt"); //文件操作,用于保存结果
#define WEIGHT_LIST_SIZE 128 //128对应128个
www.eeworm.com/read/491079/6440321
c encode.c
void encode(void)
{
int i=0,n=0,j,t,c,choice;
Sign sign[STRINGLENGTH]={{'\0',0}};
HuffmanTree HT;
HuffmanCode HC;
char ch,filename[30],filename1[30],temp,temp1;
FILE *fp
www.eeworm.com/read/131558/14137957
cpp 实习5.2.cpp
#include
#include
#include
#include
#include
#include
#include"HuffmanTree.h"
void menu();
void Out(HuffmanTree HT,HuffmanCode HC,int
www.eeworm.com/read/362752/9982140
c huffmantree.c
#include "head.h"
#include "struct.h"
#include "declare.h"
int main(void)
{
int choice;
char name[20];
ElemType e = {'\0',0};
CharArr c;
int i,ret;
HuffmanTree ht;
HuffmanCode hc;
for(i=0;i
www.eeworm.com/read/209260/15224851
cpp cmbpbframe.cpp
#include "stdafx.h"
#include "color.h"
#include "sactable.h"
#include "CBitstream.h"
#include "sac.h"
#include "Ch263class.h"
#include "Chuffman.h"
extern HuffmanCode VLCOD;
extern int *Qu