title: cannot convert parameter from `const char *` to `char *`
body: <p>Given this code:</p>
  
  <pre><code>void group::build(int size, std::string *ips){
  /*Build the LL after receiving the 
  member list from bootstrap*/
  head = new member("head");
  member *temp1,*temp2;
  
  temp1 = new member(ips[0].data());  // error here
      // ....
  }
  
  member::member(char *ip){
  strcpy_s(this-&gt;ip_addr,sizeof(ip),ip);
  this-&gt;next = NULL;
  this-&gt;previous = NULL;
  }
  </code></pre>
  
  <p>And a pointer to string defined as:</p>
  
  <pre><code>std::string *ips;
  </code></pre>
  
  <p>I want to initialize the array, <code>ips</code> with strings but when I try to get the char data from any array member I get the error:</p>
  
  <blockquote>
    <p>cannot convert parameter from <code>const char *</code> to <code>char *</code></p>
  </blockquote>
  
  <p>Why?</p>