On Wed, 23 Jul 2003 16:05:58 +0100, "claire.bell1"
<> wrote:
>Is there any way to construct a class without constructing its member
>objects?
If you declare the member objects as pointers to objects, then you can
just initialize the pointers to 0 instead of instantiating the
objects.
> Also how do you destroy and remake an object from a member method?
Instead of this, try adding clear() and init() type methods to your
class which reset & initialize the state of your object.
</dib>
John Dibling
email:
dib@substitute_my_full_last_name_here.com
Witty banter omitted for your protection