Summary: Converting ascii hex to pure hex values

Blair P. Houghton bhoughto at cmdnfs.intel.com
Thu Nov 8 11:23:21 AEST 1990


In article <14367 at smoke.brl.mil> gwyn at smoke.brl.mil (Doug Gwyn) writes:
>In article <302 at cti1.UUCP> mpledger at cti1.UUCP (Mark Pledger) writes:
>>If you have a character string with the ascii representation of hex values
>>(e.g. s[] = "63", which will be stored as TWO hex byte values \x9 & \x9.
>
>No, the two successive values will be 0x36 and 0x33.

No, the three successive values will be 0x36, 0x33, and 0x00.

				--Blair
				  "Dead horse.  Whip.  Whap!"



More information about the Comp.lang.c mailing list