Skip to main content
gamedev.net
🔒 Locked

deleting a dynamic 2 dimensional array

Started by +AA_970+ Jun 8, 2002 at 5:54 PM 1 replies 750+ views
Original Post
+AA_970+
+AA_970+
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]
IndirectX
IndirectX
Delete each element, then delete x. Remember to use the vectored version of delete (delete[] x).
---visit #directxdev on afternet <- not just for directx, despite the name

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.