Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bart van ingen wrote

1 view
Skip to first unread message

Paul

unread,
Jan 6, 2011, 11:06:57 AM1/6/11
to
>> A member functions is part of an object. true or false?

>False.
>A member function is part of a class. A class is not the same as an
>object, but rather defines a possible type for an object.
>A class provides a blueprint for the layout of an object and it tells
>the compiler in which constructions an object of that type can be
>used.


This looks like a very messy way of saying a class defines and object type,
which I have already stated in my original post.

If the object type is defined to have a member function then objects of that
type have a member function, to suggest anything else seems like an argument
creation scheme.

0 new messages