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 C2057

expected constant expression

The context requires a constant expression. The following sample generates C2057:

int i;
// use the line below to resolve the error
// const int i = 8;

int b[i];   // C2057

void main() {
}