Multidimensional array of classes?

Hey. I need to have a multidimensional array of a specific class. You see, I have a class named particle, and I want to create an array that is particlemap. Each slot in particle map represents a pixel in the OpenGL canvas. So here's what I thought I'd do:

particle particlemap[480][640]

but apparently it doesn't work that way, it's apparently a function call. This is a huge problem. All I want is an array that can story multiple class "particlemaps" in it. How can I do this?!
Show us the actual code that produces the error, and the particle class itself.
Topic archived. No new replies allowed.