How to declare a fixed size for an array in C++
<p>Quick and stupid question.
How do I declare the size for an array if I'm not allowed to use global variables?</p>

<p>Suppose I have the file <code>Album.h</code>:</p>

<pre><code>class Album {
private:
    Song songs[MAX_SONGS];

    //...

}
</code></pre>

<p>where do I put <code>MAX_SONGS = 30</code>? 
<code>const int MAX_SONGS = 30</code>
is considered a variable right?
Please notice that the size should be known to the entire program.</p>
