Given something like

std::vector<object*> objectarray;

where object is a type of class with int valuea


how would you access the valuea from the object pointed to by the third pointer in objectarray?

Would you pass objectarray like this?

func(objectarray);

just like any other vector?