I'm having some trouble getting my head around using a vector of vectors. I was wondering if anyone could set me straight with this - it's been ages since i've used vectors... :/
I am not sure that this is the correct way to add new elements into the array
typedef std::list <Cenemy *> listEnemies;
std::vector <listEnemies> m_wavesEnemies;
but i'm more confused about how to read the elements - the following doesn't appear to work and throws up a compiler error:
Cenemy *e = new Cenemy();
// Then added elements
Thanks for the help!