say i have a function that accepts a pointer like:
void SomeFunction(Obj *pObj);
and then i have an array of objects like:
Obj *myObjects = new Obj[10];
i know you can pass myObjects and it will be a pointer to the first element, but would it be possible to do this:
SomeFunction(&myObjects[5]) and thus just have pObj point to element 5 of myObjects?
thanks
