#ifndef __HTREE_H__ #define __HTREE_H__ #include #define MAX_HDEPTH 256 #ifdef __cplusplus class HTree { private: HTree * left, *right; int freq; char * objet; public: HTree(int n_freq, char * n_objet); HTree(HTree * n_left, HTree * n_right); ~HTree(); ostream & Trace(ostream & os, int d = 0); int ReadFreq(void); char * ReadObj(void); }; #else #error This librairy will only compile with a C++ compiler. #endif #endif