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 C2470

'function' : looks like a function definition, but there is no formal parameter list; skipping apparent body

A function definition is missing its argument list. The following sample generates C2470:

int MyFunc {
// ...
};

void main(){
MyFunc();
}

This error may also be issued on a brace-enclosed initialization that is missing an =.

int arr[] { 1, 2, 3, 4, 5 };

Instead, you should use:

int arr[] = { 1, 2, 3, 4, 5 };