what is the best way to use global variables in c++?
<p>For me, I usually make a global class with all members static. All other classes will inherit from this global class. </p>

<p>I wonder if this is a good practice? </p>

<p>Anybody got any suggestions?</p>
