www.pudn.com > Haffman_Compress_and_Decompress.rar > hufftree.h


#include 
 
/*************************************** 
*                  蔡敏 
***************************************/ 
 
using namespace std; 
 
HaffNode* hufftree(char_record* w,int n) { 
	int i,j; 
	HaffNode * ht = new HaffNode[2*n-1]; 
	unsigned long m1,m2; 
	unsigned int  x1,x2; 
 
	for(i=0;i<2*n-1;i++) { 
		if(i