Here's an example to explain my question:
//myfile.h
class thing
{
public:
void doSomething();
private:
Book *text;
};
Now, inside the doSomething method, how do I call the Book object's method read()? Read() is nonstatic. For this example lets say I made a thing object called obj, which called doSomething().
Would the proper call be: obj->read(), or this.obj->read()