Arithmetic Coder and Decoder, C++, C++ Builder