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 C2350

'identifier' is not a static member

Nonstatic members of a class or structure cannot be defined.

Example

class C
{
public:
   int i;
   static int s;
};
void main()
{
   int C::i = 0;  // error, nonstatic member
   int C::s = 0;  // OK, static member
   C.c;
   c.i = 0;       // OK, member of instance of C
}