Quote (Aimed_Shot @ Apr 25 2013 01:54am)
Ok, disregard that. I remember how to increment the addresses now.
however, in this problem why isn't 0x1001000 simply being incremented by 8 bytes each time?
double foo_arr[80]; // starts at address 0x10010000
for (int i = 0; i < 48; i++) {
foo_arr[i] /= 3;
}
a += b; increments the value.
a |= b; is a logical or which results in something along the lines of : 0x0001 + 0x0100 = 0x0101
a &= ~b; disables b in a, or as example: 0x1010 - 0x1000 = 0x0010
Not sure what you mean with /= - never used that one, but i think you're trying to simply do a += ?
What "are" you trying to do?