title: expression must be a modifiable lvalue (for array)
body: <p>I have this program I'm working on, and one part of it is a linked list which I am working on making.  I got this far, but at this point in the code it tells me (on the 3rd to last line) that inst must be a modifiable lvalue.  I'm not sure what I'm doing wrong here. </p>
  
  <pre><code>#include &lt;iostream&gt;
  
  using namespace std;
  
  struct node{
      float color[3];
      float v[2*3];
      node *next;
  };
  
  class TriangleList {
      private: node *head;
      private: node * tail;
  
  public: 
      TriangleList() {
          head = NULL;
          tail = NULL;
      }
  
      void add(float vertices[], float colors[]) {
          node *inst = new node;
          inst-&gt;v = vertices;
      }
  };
  </code></pre>