◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Compiler error C2350 'identifier' is not a static member A nonstatic member of a class or structure was defined. Only a static member or member of an instance or a class or structure can be defined. The following is an example of this error: 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 } -♦-