title: C++ Pointer array declaration
body: <p>Currently I have a several classes with an array defined as 'float myIDs'. I want to move the variable into my parent class and change it to a pointer ('float * myIDs').</p>
  
  <p>Currently I'm declaring its values like this:</p>
  
  <pre><code>float myIDs[] = {
      //Variables
  };
  </code></pre>
  
  <p>As its now a pointer, I thought that it would be roughly the same:</p>
  
  <pre><code>myIDs = new float[] = {
  };
  </code></pre>
  
  <p>but that doesnt seem to be working. I'm not sure how to solve this as I've never had to declare a pointer array like this before.</p>
  
  <p>Can anyone help me please?</p>
  
  <p>Thanks</p>