I do Visual C ++ programming, I created a CLR console application. I noticed that String arrays should be declared as String ^, not String []. What is the use of ^? And why is it used instead of []? And is this replacement limited to CLR applications only? Here is the line of code and the error:
array<String[]>[] abc;
the generated errors were
error C2143: syntax error: missing ';' before '['
error C2146: syntax error: missing ';' before identifier 'abc'
eror C2065: 'abc': undeclared identifier
Haris
source share