decodetree.h

来自「使用半适应的huffman算法实现了文件的压缩和解压」· C头文件 代码 · 共 22 行

H
22
字号
#ifndef __DECODETREE_H__
#define __DECODETREE_H__

struct item{
	int id;
	int left_child;
	int right_child;
};

class decodetree{
private: char path[30];
		 int itemCount;
		 int rootid;
		 int wordcount;
		 item it[512];
public: decodetree(const char* filepath);
		~decodetree(){}
		void decodePro(void);
		int nextNode(int id,int dir);
};

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?