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 C2109

subscript requires array or pointer type

The subscript was used on a variable that was not an array. The following sample generates C2109:

void main() {
   int a, b[10] = {0};
   a[1] = 0;   // C2109
   b[0] = 1;   // ok
}