Quote:
Originally Posted by Alan Anderson
Just replace the '.' with '->' between the variable name and the function name.
|
Yes. obj_ptr->elt is equivalent to (*obj_ptr).elt . That is, look up the actual field or method within the object that obj_ptr points to.