Hexadecimals into buffer

Hi, I have a long hexadecimal "string"  (08e4d30102, but longer) that I want to have into a bufer called buf. Its instatiated as

    UCHAR  buf[1514];

How do I do it?

mdolandAsked:
Who is Participating?
 
jhanceConnect With a Mentor Commented:
How about:

strcpy(buf, [wherever the string is now]);

0
 
mdolandAuthor Commented:
It worked! Sleepy me. Thanks
0
All Courses

From novice to tech pro — start learning today.