ASCII to HEX

From: Tyler Kellen (tyler_at_stardotbox.com)
Date: 11/04/04


Date: 4 Nov 2004 10:12:33 -0800

char string[] = "1d,4c,20,00";
char target[] = {0x1d,0x4c,0x20,0x00};
char buf[64];

I have searched newgroups and am actively searching online for a
function to take the value of string and place it into buf so that buf
== target.

Any ideas would be greatly appreciated,
Tyler Kellen



Relevant Pages

  • Re: ASCII to HEX
    ... > function to take the value of string and place it into buf so that buf ...
    (comp.lang.c)
  • Re: ASCII to HEX
    ... > I have searched newgroups and am actively searching online for a ... > function to take the value of string and place it into buf so that buf ...
    (comp.lang.c)