One of these days there will be enough of these to convince all reasonable
people that the reason Bush invaded Iraq had abxolutely nothing to do with
911, WMDs or terrorists.
http://tinyurl.com/bpuf6
"In an article published on Friday in the journal Foreign Affairs, Paul R.
Pillar, the CIA's
From: Bryon Daly <[EMAIL PROTECTED]>
On 2/9/06, The Fool <[EMAIL PROTECTED]> wrote:
If you want to access the individual bytes, just keep the endian-ness in
mind:
// BYTE0_OFFSET == 0 // LSB byte
// BYTE3_OFFSET == 3 // MSB byte
unsigned char GotMeB0 = *((unsigned char *) &Mem[(GetFrom *__Int
From: Bryon Daly <[EMAIL PROTECTED]>
On 2/10/06, The Fool wrote:
>
> From: Bryon Daly <[EMAIL PROTECTED]>
>
> On 2/9/06, The Fool wrote:
> >Ok so this is what I've been doing:
>
> I'll cut down to the meat of it:
>
> > *((int *) &Mem[PutAt * __Int_Size__]) = PutMe;
>
> This looks reasonab
On 2/10/06, The Fool <[EMAIL PROTECTED]> wrote:
>
> From: Bryon Daly <[EMAIL PROTECTED]>
>
> On 2/9/06, The Fool <[EMAIL PROTECTED]> wrote:
> >Ok so this is what I've been doing:
>
> I'll cut down to the meat of it:
>
> > *((int *) &Mem[PutAt * __Int_Size__]) = PutMe;
>
> This looks reason
> From: Alberto Monteiro <[EMAIL PROTECTED]>
> I think I found a possible problem.
>
> Let´s suppose that PutAt * IntSize is exactly equal to CurrentSize:
>
> > int IMem::PutInt(constlong PutAt, const int PutMe)
> > {
> > if ((PutAt * __Int_Size__) <= CurrentSize)
>
> It´s true
> From: Alberto Monteiro <[EMAIL PROTECTED]>
>
> The Fool wrote:
> >
> > So I needed to create C++ class that would be used to create a
static
> > copy of some data the program already Uses (but sometimes changes),
for
> > which it would need to revert to its original state (it also non
> > contig
I think I found a possible problem.
Let´s suppose that PutAt * IntSize is exactly equal to CurrentSize:
> int IMem::PutInt(constlong PutAt, const int PutMe)
> {
> if ((PutAt * __Int_Size__) <= CurrentSize)
It´s true here
> {
> try //
> {
> *((int *) &Mem[PutAt * _
The Fool wrote:
>
> So I needed to create C++ class that would be used to create a static
> copy of some data the program already Uses (but sometimes changes), for
> which it would need to revert to its original state (it also non
> contiguous). It also needs to be able to 'fiddle' with the data