I
ip4ram
I have an old set of library,where I used malloc to allocate
multidimensional(2 and 3) arrays,using only one malloc call(using void
pointers).I get the size of the array in run time.Now that I am moving
to C++,I wish to know if it is possible to allocate a
multi-dimensional(say 2 and 3) with just one (and only one) call to
'new'operator.The idea behind this is to have contiguous memory
locations for array data.Thanks in advance,for all your help.
Ram
multidimensional(2 and 3) arrays,using only one malloc call(using void
pointers).I get the size of the array in run time.Now that I am moving
to C++,I wish to know if it is possible to allocate a
multi-dimensional(say 2 and 3) with just one (and only one) call to
'new'operator.The idea behind this is to have contiguous memory
locations for array data.Thanks in advance,for all your help.
Ram