Breaking down pointers (in C++)