1 Replies - 257 Views - Last Post: 18 May 2010 - 10:37 AM Rate Topic: -----

#1 Guest_Jamesdean*


Reputation:

bits in an int

Posted 18 May 2010 - 09:37 AM

Hello i've been given the task of breaking an integer into bits (packing) to be sent across a network then unpacked. I can do the send code i'm just struggling how to see how you break something into an int value as i dont understand the bit process.any help would be great
Is This A Good Question/Topic? 0

Replies To: bits in an int

#2 jjl  Icon User is offline

  • Engineer
  • member icon

Reputation: 1072
  • View blog
  • Posts: 4,532
  • Joined: 09-June 09

Re: bits in an int

Posted 18 May 2010 - 10:37 AM

how about a bit field?

http://msdn.microsof...wxh(VS.80).aspx
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1