why "delete [][]... multidimensionalarray;" user c++ does exist


i always wondering there user deletion multi dimensional arrays customary c++ language.



if have combined pointer unparalleled dimensional array



int *array = new int[size];


the mislay looks like:



delete [] array;


that's great. nonetheless have twin dimension array, do



delete [][] twodimenstionalarray;


instead, should loop mislay items, example.



can anybody explain why?



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members