Hi, I have 2 issues that I'd like to be addressed.

The main issue is that my "c/c++" hexdump program appears to work on the server but compared to a perl hexdump script, I find it skips the first byte in a file. Can you please review my c/c++ code and see what logic errors I may have. I can't find any offhand at this point. the urls below contain my source code. if you need me to post it here, let me know, trying to save space here.

"my C/C++ hexdump program"
http://www.engr.sjsu.edu/daluu/hexdmp.cpp.txt
"the perl hexdump script I used to compare with"
http://www.engr.sjsu.edu/daluu/hexdump.pl.txt

if anyone has additional time I have two more issues to ask:

1)the program runs fine (except for error listed above) on a Sun Solaris server, but it crashes in Windows 2k with this message:

instruction at "0x004137fd" referenced memory at "0x00000004". memory can't be written.

why does it do that? the code is built for unix testing but should be cross-platform, i believe.

urgent help needed. thanks in advance for help.