> Anything that is allocated with a 
>          new classtype[] should be deleted with a delete[].

Does anyone know if the C++ language specification actually states that that is
true?

I've read in books etc that delete[] is supposed to be used, but I don't
think I've EVER seen it used in the real world. I never use delete[] myself, and
I have no problems with memory leaks.r

/ Peter Schuller

Technical support guy: Microsoft support, how may I help you?
Newbie: Well, I am having problems with my computer.
Tech guy: So what's the problem?
Newbie: Windows keeps crashing on me.
[3 second pause]
Tech guy: And?

---
PGP userID: 0x5584BD98 or 'Peter Schuller <[EMAIL PROTECTED]>'
E-Mail: [EMAIL PROTECTED]
Web: http://hem.passagen.se/petersch


PGP signature

Reply via email to