Possible Duplicate:
What does it mean to have an undefined reference to a static member?
I have a static class as follows:
.h file
class c1 {
    public:
    static int disconnect();
    private:
    static bool isConnected;
    };
.cpp file
#include c1.h
int c1::disconnect()
{
    c1::isConnected = false;
    return 0;
}
However when I compile, there is an error
undefined reference to `c1::m_isConnected'
Please help!
 
     
     
    