title: How to declare extern class pointers in C++?
body: <p>The following is declared variable in the cpp file but I get an error, so I have conducted a research and I found that I need to declare it in the header file. therefore how can I declare and an extern class pointer in the header file</p>
  
  <pre><code> extern AnimationController* g_pAnimationController;
  </code></pre>