I guess that your approach to implement a "table" is a Vector of array's.
What about a Vector of Vectors? that would solve your problem if you don't
neither know the number of columns needed.

I think it would be easy to develop a class called "MultiVector" or
something like that, which could have some methods to allow simply access to
your cells of data, for example "elementAt(i,j)".

Maybe I didn't understand what's your problem...

Jes�s


[EMAIL PROTECTED]> wrote

> Does anyone know how to create a multidimensional vector?
>
> I have the need for an array but do not know the size of the array when
> I need to create it, so I am using a vector to handle this (I actually
> know the number of columns but not the number of rows).
>
> It would be nice if the vector could be multidimensional but I could not
> find any documentation on how to do this.
>
> Thanks,
>  Rob


_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to