Hi,
I try :
short ^arrShort = gcnew short [MAX];
arrShort[0] = 1; --> COMPILER ERROR
error C3915: 'System::Int16' has no default indexed property
(class indexer)
WHY ?
how can I put a value at the first position ?
thanks
Chris
Nemanja Trifunovic - 29 Jun 2005 16:51 GMT
You are not declaring the array correctly. Take look at this article to
learn how to work with arrays in C++/CLI (the author reads this
newsgroup, right, Nish? :) )
http://www.codeproject.com/managedcpp/cppcliarrays.asp