I've a problem about implementing DMC algorithm (Dynamic Marcov Compression)to J2ME script.

I've DMC script, but it write in C ++. U can get both of them at :
ftp://ftp.sac.sk/pub/sac/pack/dmc.zip
ftp://ftp.sac.sk/pub/sac/pack/dmcsrc.zip

Please help me to translate it into J2ME script. I've tried it but it always error.

thx for the help.

Regard

Zlqnn