How can I use an initialize a static array with a known num of elements?
<p>I have an enum type with a last item 'num_of_types'. (that is, it will be 15, in example)
I'like to have a static array_of_types[num_of_types], to easily count the number of each type I create. 
My idea is to have: array_of_types[the_type]++;</p>

<p>But, I have no idea to declare and initialize this static array?</p>
