I'm making a Windows Forms Application on MSVS2005. In this program I defined a ref class named BaseStat. I need an array of these objects available to my application, but can't seem to declare the array. I guess technically I need an array of pointers to this type of object.
In MSVS2003 I would do it like this:
[CODE=cpp]private: static BaseStat *myArray[] = new BaseStat*[498];[/CODE]
How would I do this in MSVS2005?
In MSVS2003 I would do it like this:
[CODE=cpp]private: static BaseStat *myArray[] = new BaseStat*[498];[/CODE]
How would I do this in MSVS2005?
Comment