Hi,
Thanks to everyone I was able to submit my huffman coding assignment successfully.Now I've got to do arithmetic coding and it seems really confusing.I've looked at arturo campos's page
http://www.arturocampos.com/ac_arithmetic.html
and havent understood using the range 0000h to ffffh instead of [0,1) and adjusting probabilities to be limited to 16 bits.I'm kinda lost there.Any help is appreciated.