declaring managed arrays in VS2005?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • phiefer3
    New Member
    • Jun 2007
    • 67

    declaring managed arrays in VS2005?

    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?
  • phiefer3
    New Member
    • Jun 2007
    • 67

    #2
    Can't anyone help me with this? I really need help.

    Comment

    • phiefer3
      New Member
      • Jun 2007
      • 67

      #3
      Nevermind, I found my answer. I guess this can be closed.

      Comment

      Working...