C++: Making a dynamically initialized variable available to other .cpp files
<p>I have a <code>int vertexCount</code> variable that's initialized by reading a text file on a <code>loader.cpp</code> and I want to make it available to a separate <code>model.cpp</code> file. </p>

<p>Should I declare it as </p>

<blockquote>
  <p>extern vertexCount</p>
</blockquote>

<p>on <code>model.cpp</code>? Or on a <code>.h</code>?  </p>
