Bitwise chunks of memory together.
From: brigham white (brighamandrew_at_msn.com)
Date: 12/31/03
- Next message: Randy Howard: "Re: Ask for help about wait() for several processes in C ,solaris"
- Previous message: Randy Howard: "Re: Ask for help about wait() for several processes in C ,solaris"
- Next in thread: Jeff Schwab: "Re: Bitwise chunks of memory together."
- Reply: Jeff Schwab: "Re: Bitwise chunks of memory together."
- Reply: Josh Sebastian: "Re: Bitwise chunks of memory together."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Dec 2003 18:15:35 -0600
Few questions here.
Is there a way to bitwise two memory chunks together that are larger than
the largest primitive type built into c++? Or in other words, if I have two
pointers to arbitrarily sized memory chunks that are equal to eachother and
exceed say 32 bits.. can I bitwise those two memory chunks together? I
assume that the memory chunks would have to be in multiples of the size of a
byte. In my app, the chunk of memory would require me to use 176 bitwise
operations at 32 bits at a time to obtain the results I want. Are bitwise
operations costly in cpu time? Thanks..
- Next message: Randy Howard: "Re: Ask for help about wait() for several processes in C ,solaris"
- Previous message: Randy Howard: "Re: Ask for help about wait() for several processes in C ,solaris"
- Next in thread: Jeff Schwab: "Re: Bitwise chunks of memory together."
- Reply: Jeff Schwab: "Re: Bitwise chunks of memory together."
- Reply: Josh Sebastian: "Re: Bitwise chunks of memory together."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|