Click here to Skip to main content
15,914,488 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: creating dialog box Pin
Christian Graus1-Aug-07 13:20
protectorChristian Graus1-Aug-07 13:20 
QuestionCreate a table Pin
abbd31-Jul-07 10:08
abbd31-Jul-07 10:08 
AnswerRe: Create a table Pin
Mark Salsbery31-Jul-07 10:30
Mark Salsbery31-Jul-07 10:30 
GeneralRe: Create a table Pin
abbd31-Jul-07 10:35
abbd31-Jul-07 10:35 
GeneralRe: Create a table Pin
Mark Salsbery31-Jul-07 10:40
Mark Salsbery31-Jul-07 10:40 
QuestionRe: Create a table Pin
abbd31-Jul-07 10:54
abbd31-Jul-07 10:54 
AnswerRe: Create a table Pin
Mark Salsbery31-Jul-07 11:35
Mark Salsbery31-Jul-07 11:35 
AnswerRe: Create a table Pin
Mark Salsbery31-Jul-07 11:49
Mark Salsbery31-Jul-07 11:49 
abbd wrote:
array < String ^, 3 > ^ sub2=gcnew array < String ^, 3 > (20,100,200);

array^ subItems=gcnew array(16);

sub2[0,0] = subItems


You have a bunch of things wrong here.  Do you have an understanding of C++ arrays?
They are strongly typed, like the whole language is.

To define an array you have to specify a type - this won't work:
array^ subItems=gcnew array(16);

Now to add this array type to your multi-dimension array, that multidimensioned array must be defined to hold an array type -
the type of subItems, which you haven't defined.

If you have an array with three dimensions then you must access members of the array using three arguments.

Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

AnswerRe: Create a table Pin
iddqd51531-Jul-07 11:05
iddqd51531-Jul-07 11:05 
QuestionRe: Create a table Pin
abbd31-Jul-07 11:44
abbd31-Jul-07 11:44 
AnswerRe: Create a table Pin
George L. Jackson31-Jul-07 13:54
George L. Jackson31-Jul-07 13:54 
Questionreading a file using C Pin
NalBH31-Jul-07 9:00
NalBH31-Jul-07 9:00 
AnswerRe: reading a file using C Pin
Mark Salsbery31-Jul-07 9:14
Mark Salsbery31-Jul-07 9:14 
AnswerRe: reading a file using C Pin
romcab31-Jul-07 20:49
romcab31-Jul-07 20:49 
GeneralRe: reading a file using C Pin
NalBH2-Aug-07 3:22
NalBH2-Aug-07 3:22 
QuestionAn exception on listView Pin
abbd30-Jul-07 21:19
abbd30-Jul-07 21:19 
AnswerRe: An exception on listView Pin
Luc Pattyn30-Jul-07 23:30
sitebuilderLuc Pattyn30-Jul-07 23:30 
QuestionRe: An exception on listView Pin
abbd31-Jul-07 5:10
abbd31-Jul-07 5:10 
AnswerRe: An exception on listView Pin
Luc Pattyn31-Jul-07 5:24
sitebuilderLuc Pattyn31-Jul-07 5:24 
Questionwin32 shell api on mingw Pin
ztoon30-Jul-07 13:23
ztoon30-Jul-07 13:23 
QuestionGINA Pin
MozhdehQeraati29-Jul-07 0:34
MozhdehQeraati29-Jul-07 0:34 
AnswerRe: GINA Pin
Paul Conrad30-Jul-07 6:21
professionalPaul Conrad30-Jul-07 6:21 
AnswerRe: GINA Pin
led mike30-Jul-07 6:30
led mike30-Jul-07 6:30 
AnswerRe: GINA Pin
Christian Graus30-Jul-07 11:06
protectorChristian Graus30-Jul-07 11:06 
GeneralRe: GINA Pin
Paul Conrad30-Jul-07 11:18
professionalPaul Conrad30-Jul-07 11:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.