自适应霍夫曼编码的C++版本简单实现 class AdaptiveTree { public: AdaptiveTree(int rootNum); AdaptiveTree(int rootNum, string str); void swap(int first, int second); // swap two nodes of the tree void initalCode(); // initializing the data string char2code(unsigned c
import javax.microedition.lcdui.Alert; import javax.microedition.lcdui.Image; public class About extends Alert{ private Image icon=null; private final static String message="手机电话簿"; public About(String title){ super(title); setTimeout(FOREVER); try