View Single Post
  #3 (permalink)  
Old March 10th, 2004, 02:20 PM
davekw7x davekw7x is offline
Authorized User
 
Join Date: Feb 2004
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here's a suggestion: whenever you get a result you don't understand, use printf() to troubleshoot.

For example, use something like
Code:
printf("Debug: inChar = <%02X>\n", inChar);
after the line that reads a byte from the file.

If this doesn't tell you something (that is, if you don't understand,
what it tells you) get back to us.


printf() is your friend.


Regards,

Dave
Reply With Quote