Re: deconstructor


[ Follow Ups ] [ Post Followup ] [ CS2604 Discussion WWWBoard ] [ FAQ ]

Posted by hussein on July 21, 1999 at 07:56:26:

In Reply to: deconstructor posted by MtBiker on July 21, 1999 at 02:45:26:

: I noticed that the sample main handles deleting
: windows. I set my list implementation to delete all
: the windows(nodes) in the destructor. Any chance this
: might screw up the testing of the app during grading or
: should I only worry about how it works with my UI?

obviously you have to implement the DeleteWindow routine as well ...

now as far as im concerned, its taken for granted that you will put in an appropriate destructor that will deallocate any memory allocated by the object (this being a basic principle of OOP)

---

hussein


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2604 Discussion WWWBoard ] [ FAQ ]