⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bitreenode.cpp

📁 运用面向对象方法编写的一个haffman编码树
💻 CPP
字号:
// BiTreeNode.cpp: implementation of the CBiTreeNode class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "BiTreeNode.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CBiTreeNode::CBiTreeNode()
{
	
}

CBiTreeNode::~CBiTreeNode()
{

}
CBiTreeNode::CBiTreeNode(float weight,int i,CBiTreeNode *l,CBiTreeNode *r,CBiTreeNode *next)
{
	this->weight=weight;
	this->data=(char)i;
	this->lChild=l;
	this->rChild=r;
	this->next=next;
	
}

⌨️ 快捷键说明

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