• Advertisement

Archived

This topic is now archived and is closed to further replies.

deleting a dynamic 2 dimensional array

This topic is 5737 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

simple question, what's the proper way to delete a dynamic 2 dimensional array? ( ex. int **x ) Digital Radiation [edited by - +AA_970+ on June 8, 2002 6:55:56 PM]

Share this post


Link to post
Share on other sites
Advertisement
Delete each element, then delete x. Remember to use the vectored version of delete (delete[] x).

Share this post


Link to post
Share on other sites

  • Advertisement