On Thu, 25 Apr 2002, Tom Brown wrote:
> I don't know if this useful, but I like to pipe strange characters
> into hexdump
Thanks for the info, turns out I wasn't handling the string terminator
correctly / off-by-one error... ps :)
Paul Sack correctly diagnosed the problem (a co-worker at AR
I don't know if this useful, but I like to pipe strange characters
into hexdump
echo "This is a test" | ./compress | hexdump -c
Printf and gdb are powerful debugging tools.
On Tue, Apr 23, 2002 at 04:17:42PM -0500, Robert Giles wrote:
> Howdy folks - I'm writing a program to compress and uncomp
Howdy folks - I'm writing a program to compress and uncompress a string
and keep getting weird results... for a string of length 0-6, uncompress
stores garbage at the end of the string. Length = 7, output is OK.
Length 8,9,10,11 - output is corrupted. Length = 12, output is OK.
Program takes i