12 May 2004 Nafai77   » (Journeyer)

ncm: My lack of strength in C++ shows here. Why is using delete considered sloppy thinking? I would assume that the use of new is acceptable. For example, when you are allocating memory for a dynamically sized array (yes, I do know about the STL <vector> I thought it was prope, and in fact necessary, to pair new and delete calls as in C with malloc() and free. What am I missing? Standard C++ doesn't have garbage collection, so I'm a bit lost.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!