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 hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?