Introduction - If you have any usage issues, please Google them yourself
summary
1. basically there is no big problem, in the call select () this function, want to minimize the weight of the two nodes of the ordinal number back to HuffmanCoding (), so the 2 serial number set as a reference.
2. in the programming process, when to allocate memory, when initialization, the longer the time spent
3., after the last basically implemented, found that the results are still problems, after step-by-step debugging, found a particularly low-level input errors. Write I in HT[i].weight=HT[s1].weight+HT[s2].weight; S2 in