Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
C
Hex
Hex
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
baburk
New Member
Join Date:
Oct 2006
Posts:
111
#1
Hex
Oct 20 '06, 03:45 AM
Iam two hex values 0x56f and 0xe45. I wants to join it as oxe4556f in a vaiable.
dtimes6
New Member
Join Date:
Oct 2006
Posts:
73
#2
Oct 20 '06, 04:48 AM
Originally posted by
baburk
Iam two hex values 0x56f and 0xe45. I wants to join it as oxe4556f in a vaiable.
a = 0x56f;
b = 0xe45;
res = (b << (4*3)) +a;
a Hex is 4 Bin
3 Hex is 4 * 3 Bin.
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment