Can't increment a static variable
<p>Could you help me understand why I can't increment the static variable?
I face this: *error LNK2001: unresolved external symbol "private: static unsigned int Counter::m_curCounters" (?m_curCounters@Counter@@0IA)*</p>

<p><strong>counter.cpp</strong></p>

<pre><code>#include "counter.h"

static unsigned int m_curCounters = 0;

Counter::Counter(const char* p){
    ...
    m_curCounters++;
}


Counter::Counter(){
    ...
    m_curCounters++;
}
</code></pre>
