|
-
December 28th, 2011, 04:54 PM
#1
How to Make an array of objects in visual c++ 2010
I need to create an array of objects to hold labels in visual c++ 2010,
i tried:
Object^ *labelArray;
labelArray=new Object^ [15];
but this error came up:
error C2728: 'System::Object ^' : a native array cannot contain this managed type
Did you mean 'array<System::Object ^>'?
So how to make this array and what does it mean by array<System::Object ^>
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|