> No. Unfortunately, it doesn't work like that. You would still need
> to do some dancing around.
>
> After some thinking, I now conclude that I should take it back, there
> is no easy way to initialise a vector of vectors from a
two-dimensional
> array. A vector can be initialised from an array by
>
> vector<int> vi(array_of_int,
> array_of_int + sizeof(array_of_int)/sizeof(int)
);
>
> but for a vector of vectors you'd have to write that initialiser for
> each vector separately, which makes it not worth your while,
probably.
>
Well, yeah, It seems I'll have to give it some thinking then. Thanks a
lot for the help.
Paulo Matos
> V
|