From String to characters

N

Neil

Problem: I have a string say s = "1F3"; and I have to place the contents of
s into two characters cC1 and cC2;

End Result: cC1 = 0x01; and cC2 = 0xF3;

Solution:????


Thank you,
Neil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,151
Latest member
JaclynMarl
Top