Solved

Hexadecimals into buffer

Posted on 2000-04-03
2
230 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
The goal of this video is to provide viewers with basic examples to understand recursion in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them in the C programming language.

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now