At 10:07 1998.09.17 +0000, holotko wrote:

>   ~foo()
>     { delete c; }

Right, except that you should use "delete[] c;".
For more info, you can read the section 16 of the C++ FAQ at :

  http://www.cerfnet.com/~mpcline/c++-faq-lite/

Also mirrored at (among others) :

  http://www.cs.bham.ac.uk/~jdm/CPP/index.html

HTH.


Andr� Majorel
[EMAIL PROTECTED]
http://www.teaser.fr/~amajorel/

Reply via email to