It's pretty simple. In C# (I know you're using C++, but i'm not too keen on that) You'd make the arraylist then just do something like:
Code:
ArrayList arrList = new ArrayList(10);
for(int i = 0; i < 10; i++){
arrList.Add(new Queue());
}
// then you'd access it like this
arrList[1].SomeMethod(); // do stuff with the second queue (since it's zero based)
arrList[4].SomeOtherMethod(); // do more stuff with the 5th queue
//etc
That's the basic idea.