?
evilissimo schrieb:
So geht das dann
String * strarr[,] = new String*[3,3];
for(int i = 0; i < 3; ++i)
for(int j = 0; j < 3; ++j)
strarr[i,j] = S"Test";
for(int i = 0; i < 3; ++i)
for(int j = 0; j < 3; ++j)
Console::WriteLine(strarr[i,j]);
oder unter c++/cli
cli::array<String ^, 2> ^strarr = gcnew cli::array<String ^, 2>(3,3);
for(int i = 0; i < 3; ++i)
for(int j = 0; j < 3; ++j)
strarr[i,j] = L"Test";
for(int i = 0; i < 3; ++i)
for(int j = 0; j < 3; ++j)
Console::WriteLine(strarr[i,j]);