because the Contructor of a class is always run, when you create a new object, and you call it, it first runs the Base Constructor, then it runs the Inherited constructor, where as a deconstructor, does not always need to run. Thats what I think. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href=
</a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML,Visual InterDev 6, ASP(WebProgramming), QBasic(least i didnt start with COBOL)
Hello,<br><br>In the book "The C++ Programming Language" (Stroustrup) there is an explanation on how to reach the same behavior as a virtual constructor.<br><br>All the Best,<br><br>Ami Tavory<br><br><br>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.