A problem with PictureBoxes

Alright, so basically what I want to do is after getting a certain dimension, I want to create an array of PictureBoxes, and then display them in a mxn grid.

The problem I'm having is that I can't declare

array<PictureBox^>^ pict;

How would I go about doing this whilst being able to modify those boxes from other places in my program? If I can manage this I'll be able to get the rest going I think.

(also as a side note, what is the purpose of the ^ operators? I'm still relatively new to C++ and have a project where I need to learn alot fast. (school))

Thanks for any and all help,
-Ozzadar
Topic archived. No new replies allowed.