title: I need declare a global array, but y my variable does not work, i have something like this:
body: <p>I tried with a #define but i don't know how use it in this context
  the console print: 'array bound is not an integer constant', If you can help me I would appreciate it very much</p>
  <pre><code>#include &lt;iostream&gt;
  #include &lt;string.h&gt;
  #include &lt;stdlib.h&gt;
  #include &lt;stdio.h&gt;
  using namespace std;
  
  //I get the value of my enviroment variable
  char *vEviroment = getenv(&quot;Threads&quot;);
  int number = atoi(vEnviroment)
  
  //I need create an array with that value
  long start[number];
  
  int main(){
  
   //....
   
  }
  </code></pre>