title: Finding verticies of a polygon given the number of sides?
body: <p>I am trying to a function that will find all the vertices of a polygon given X number of sides and a radius r. My overall goal is to make a circle but since you can only draw straight lines I will have to make a polygon. So all of the polygons are going to be centred on the point (0,0). And I want to find all the coordinates for a polygon with 6 sides and radius that will iterate from .1 to 1.0. This should form a 10 circles inside of each other.
  Here is what I have so far:</p>
  
  <p>Here are my errors:</p>
  
  <pre><code>52:33: error: variable-sized object ‘vertices’ may not be initialized
  57:17: error: request for member ‘insert’ in ‘vertices’, which is of non-class type ‘iPoint [(((long unsigned int)(((long int)nVertices) + -0x00000000000000001)) + 1)]’
  </code></pre>
  
  <p>My goal for the for loop is to get all the coordinates for a single polygon for the given radius and stick them in the verticies array as a 2 dimensional Point (x coordinate and a y coordinate).</p>