Originally posted by E
a constructor makes a basic onject.
a constructor makes a basic onject.
Originally posted by E
a destructor "~" kills the whole object.
a destructor "~" kills the whole object.
Originally posted by E
It has an address but isn't an object. Kind of like an empty shortcut
It has an address but isn't an object. Kind of like an empty shortcut
Originally posted by E
how are these going to apply to my showonmap?
how are these going to apply to my showonmap?
We were long ago at point when I asked you to look up the constructor of MapPoint, if I remember correctly there are two. Now you should look them up and at best post them here and tell me how they initialize their data-members and whether the default constructor initialize its members so that the resulting MapPiont is valid. And of course to figure this out, you can check the MapPoint class.
-Martin
Comment