title: Array Size Not Defined? C++
body: <p>Dumb question. but can you do this.
  (these are global variables by the way)</p>
  
  <pre><code>int size;
  double Values[size];
  </code></pre>
  
  <p>If Im getting the SIZE from a file?</p>
  
  <p>I know you probably can't, but maybe theirs some way to readjust the size based on the number I read in from the file (like say I read in 7, I know Values will have to be of Size 7).</p>
  
  <p>The compiler complains, but Im wondering if their is some workaround. (these have to stay as global variables btw.</p>