NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error C2090

function returns array

A function cannot return an array. Return a pointer to an array instead. The following sample generates C2090:

int[] func1(void) {   // C2090
}
int* func2(int * i) {   // ok
   return i;
}

void main() {
}