cheesepirate wrote: int * p = array + 8; Sorry but that bad code in any language! what is 8? 2 or 4 ints? I mean any compiler could produce wrong code for that! Now if you did the following, life would be different, and at least someone else can understand the code.
int array [16];
int * p = &array[2];
And I can almost gaurentee you, that that will work now via MC++. top secret xacc-ide 0.0.1