Creating a dynamic array

I have a UML diagram with the following:
- table: *list[]

Where list can be any container from the STL (I chose queue). But the description of the assignment also states the following:
...This means that each entry in the table array needs to be a pointer to a container to store the chain of elements hashed to that location. (Note that I said a pointer to a container, not just a container.) You can use any container you like, but the STL has several that would work well, so I'd encourage you to not reinvent the wheel. The array also needs to be allocated dynamically, since the size of the dictionary we are using may vary considerably. The syntax of that array declaration is a bit tricky, but if you keep in mind that "pointers are arrays and arrays are pointers" you should be able to work it out.


How would I declare such an array? I currently have:

queue<int> ** table;
Topic archived. No new replies allowed.