Click here to Skip to main content
15,902,189 members

Articles by MilesAhead (Tip/Trick: 1)

Tip/Trick: 1

RSS Feed

Average article rating:

No articles have been posted.

Average blogs rating:

No blogs have been submitted.

Average tips rating: 5.00

General Programming
31 Aug 2010   Updated: 31 Aug 2010   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: CPOL    Views: 5,370     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
A good exercise to aid in always using delete [] where appropriate is to code your own autoarray_ptr following the pattern of c++ auto_ptr. The destructor calls delete [] when the instance goes out of scope. Saves writing a lot of messy delete [] code in "if chains" and switch blocks....

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.