In article <JM********************@twister1.libero.it>,
acab <pi************@yahooDOT.com> wrote:
Is it possible to allocate dinamically memory for a bidimensional array?
Yes.
Oh, you wanted to know how?
You can either allocate a single array of m*n values and calculate
the index into that array from the row and column index, or allocate m
arrays of n values plus an array of m pointers and index using the row
and column indices separately.
(Setting things up so that you can use either of these methods is left
as a (fairly simple) exercise.)
dave
--
Dave Vandervies
dj******@csclub.uwaterloo.ca
If being concerned with accuracy makes me a jerk, I plead guilty.
--Richard Heathfield in comp.lang.c