Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
HufNode.h
Package: 实验一 Huffman编码源码.zip [view]
Upload User: liruoru
Upload Date: 2007-07-02
Package Size: 43k
Code Size: 1k
Category:
Algorithm
Development Platform:
Visual C++
- // HufNode.h: interface for the HufNode class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_HUFNODE_H__BD4731F5_9D3A_11D3_8122_DE8E79793449__INCLUDED_)
- #define AFX_HUFNODE_H__BD4731F5_9D3A_11D3_8122_DE8E79793449__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class HufNode
- {
- public:
- void PutName(char);
- int GetParent();
- void PutWeight(double);
- void PutRchild(int);
- void PutLchild(int);
- void PutParent(int);
- double GetWeight();
- char GetName();
- void initnode();
- char* code;
- char name;
- int parent,lchild,rchild;
- double weight;
- HufNode(char,double);
- HufNode();
- virtual ~HufNode();
- protected:
- };
- #endif // !defined(AFX_HUFNODE_H__BD4731F5_9D3A_11D3_8122_DE8E79793449__INCLUDED_)