Skip to main content
gamedev.net
🔒 Locked

C++: delete bidimensional array

Started by Alessandro 2 replies 950+ views
Wooh
Wooh
If you haven't created it with new there is no need to delete it. It will be deleted automatically when it goes out of scope.
iMalc
iMalc
Or to put it more bluntly: No, you cannot invoke the 'delete' keyword to delete that array.

Topic Locked

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

Sign in to reply to this topic.