On Thu, 6 Feb 2003 acme(a)ao.net wrote:
Or, does anyone know where I can find C source for a
simple file compression
routine? The program needs to be portable to Linux, MS-DOS, CP/M and
CP/M-86. (I am capable of making changes in the code to accomodate different
compilers)
I'd wander around looking at pre-existing open source implementations -
they're already portable and if you want to fiddle with them, you can.
If you head on over to FreshMeat (
www.freshmeat.net) you can find gzip,
zip and bzip2 - all of these have available source for your viewing
pleasure.
Enjoy;
JP