Also when using classes, a static member variable is one that is shared among members of the class, and must be initialised at file scope:
Code:
class NewClass {
public:
    static int m_iShared;
};

NewClass::m_iShared = 5;
Then static member functions, which don't have a this pointer and are not allowed to reference any non-static member variables or functions:
Code:
class OtherClass {
public:
    static int MyStaticFunction(int x) {
        return x + 1;
    }
};