array<String^>^ strArray = gcnew array<String^>(10);
But what if I want to initialize a 2 dimensional array of type System::String^ ,and put some strings inside?
Thank you...
Posted 27 December 2010 - 10:09 AM
array<String^>^ strArray = gcnew array<String^>(10);
Posted 27 December 2010 - 11:15 AM
// Two dimension array, 10 x 10, note this is not an array of arrays
array<String^, 2>^ str2Dimension = gcnew array<String^, 2>(10,10);
str2Dimension[0,0] = gcnew String("hello world");
MessageBox::Show(str2Dimension[0,0]);
This post has been edited by Martyr2: 27 December 2010 - 11:16 AM
|
|
Query failed: connection to localhost:3312 failed (errno=111, msg=Connection refused).
|
