title: Empty dynamic array in c++
body: <p>Let's say I have an object called <code>Square</code> with the constructor <code>Square(int rx, int ry)</code>, i want to create a dynamic array of Squares, with different arguments in the constructor:</p>
  
  <pre><code>Square *squares = new Square[10];  
  for (int i = 0; i &lt; 10; i++)
  {
       squares[i] = new Square(i, i);
  }
  </code></pre>
  
  <p>However this fails, saying <em>no appropriate default constructor available</em>. So how do i create an empty or NULL array and then do constructions <strong>later</strong>?</p>
  
  <p><strong>EDIT:</strong> This has to be an array, due to other things in code, to hard to explain here.</p>