initializing private member array w/ size as a class initialization parameter
<p>so I have an "Office" class for a program that i'm currently writing, and each "Office" has a certain number of tellers who are either busy or idle. I want to represent these tellers as a private int array of the Office class.
The problem I am having is that the number of tellers is a declaration parameter for the office class, so I can't just go</p>

<pre><code>private: 
    int tellers[num_tellers];
</code></pre>

<p>I've tried different things with the constructors, but nothing seems to work. How do I do this properly? Everything I see online is using the new operator, but I have no interest in using a pointer for this.</p>

<p>thanks in advance</p>
