"asdf" <li*********@gm ail.comwrote in message
news:11******** **************@ p79g2000cwp.goo glegroups.com.. .
>I was told not to use the low-level language such as arrays which
inherited from C, I want to know what can I use to substitute the
C-style multidimensiona l arrays? Is there multidimensiona l vector?
The usually way is to do a vector of vectors, but I find that troublesome,
and usually wind up encapsulating the 2nd vector. Something like:
struct MyList
{
std::vector<int IntVector;
};
std::vector<MyL istMy2DArray;
I just find the syntax a bit easier than
std::vector<std ::vector<int My2DArray;