dynamically define 2-D array
Liqiang Feng
feng at caen.engin.umich.edu
Wed Oct 31 12:57:14 AEST 1990
I am trying to dynamically allocate a 2-D array, and I think I need
to declear a pointer which is the pointer to an array of pointers, and
the pointers in that array of pointers will serve as the pointers to
the 2-D array. Is this right? Can anybody give me a very simple example
how it is done? Thank you very much.
E-mail: feng at caen.engin.umich.edu
More information about the Comp.lang.c
mailing list