title: simple error: point array
body: <p>I have the following:</p>
  
  <pre><code>array&lt;Point&gt;^ ADC1=gcnew array&lt;Point&gt;(2);
  ADC1={Point(period,points[0][0]),Point(period,points[0][1])}; // error here!
  </code></pre>
  
  <p>However I get the following error when I attempt to compile the code:</p>
  
  <p>error C2059: syntax error : '{'</p>
  
  <p>The error is at the line ADC1={ ...</p>
  
  <p>period is an int and points is a 2D array with int values.</p>
  
  <p>can anyone help me out?</p>
  
  <p>Thanks in advance</p>