Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. joncoles

    How can I read a hex byte value from a file?

    I came here to report that I'd found the solution. Thanks anyway, rosenk. That was a very quick response.
  2. joncoles

    How can I read a hex byte value from a file?

    getc is supposed to return a char. I find that it doesn't return the correct value for non-printable characters. For example: open(FILE, $ARGV[$1]) || die("can't open: $!"); $namlen=getc(FILE); $len=read(FILE,$fname,$namlen); The first byte contains the length of the string that...

Part and Inventory Search

Back
Top