Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/19/04 09:39
Read: times


 
#81494 - Same subject as the post I'm replying to
Responding to: ???'s previous message
"tthhatt's all fffolks"

Not quite:

union Richard
{
long target;
chat putit[4]; //<--
}; //<--

And note that putit[3] will access the LSB of target, which I don't think was the byte the OP was after.


List of 7 messages in thread
TopicAuthorDate
Efficient method... (C question)            01/01/70 00:00      
   what about a union            01/01/70 00:00      
      Well that makes sense!            01/01/70 00:00      
         It's the standard way!            01/01/70 00:00      
      Same subject as the post I'm replying to            01/01/70 00:00      
         byte order            01/01/70 00:00      
         Thanks! :)            01/01/70 00:00      

Back to Subject List