member functions

If you have a member function, then I now see one of two possibilities:

If it returns values, then it uploads them into all the appropriate
respective variables within its host object.
Is that correct?

Or, if it is a void style member function, then it is attached to the object.
But I do not know here at what point within the object it is called.
Some have already told me that it will not be called at all within the object.
But if that is the case, then what would this kind of member function do to
or with the object that the object would not hypothetically do by itself?

I think I'm getting to understanding this, unles you feel that I'm way off track. Any input appreciated. Thanks.
What????
You're going to have to make you question clearer... for some reason my brain cannot even comprehend what your trying to say... I nearly blue screened...
Reading carefully some times I think to get something...

If it returns values, then it uploads them into all the appropriate
respective variables within its host object.
Is that correct?
No: a function can only return one value and the return value isn't stored in the member unless you specifically say that
if it is a void style member function, then it is attached to the object.
Any member function is 'attached' to the object...
But I do not know here at what point within the object it is called.
Some have already told me that it will not be called at all within the object.
You can't call functions from within the object, a function can only be called within another function
But if that is the case, then what would this kind of member function do to
or with the object that the object would not hypothetically do by itself?
An object by itself does nothing. All the work is done by member functions
Topic archived. No new replies allowed.