variable size of namespace?
I am trying to make a namespace with an array that can change in size:
where the value of "variable" is set earlier in the program. The problem is that my compiler (dev c++) gives me the following errors:
storage size of namespace2::array isn't constant.
size of variable namespace2::array is too large.
It isnt actually too large, because It works with larger numbers than I am using when I just type them in instead of using a variable.
How can I make the size of the namespace be set in the program?