Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Hexadecimals into buffer

Posted on 2000-04-03
2
234 Views
Last Modified: 2011-09-20
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?

0
Comment
Question by:mdoland
2 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 50 total points
ID: 2681829
How about:

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

0
 

Author Comment

by:mdoland
ID: 2681867
It worked! Sleepy me. Thanks
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question