[rescue] Cooling (Long Message, sorry)

Scott Newell newell at cei.net
Thu Apr 18 10:04:50 CDT 2002


>proper way to do it in C.  The problem is what is the proper way to do it in
>C++, and using malloc is virtually never the proper answer for C++ (I can
only
>think of one reason to use malloc in c++, and that only applies to
windows, to
>my understanding).

Well then, check out:

http://www.parashift.com/c++-faq-lite/freestore-mgmt.html#faq-16.15

I've always been partial to the third (non-rectangular) method, nested
new[] and delete[], just because I like the syntax used to access the array
elements.


newell



More information about the rescue mailing list