title: Deprecated conversion from string literal to 'char*'
body: <p>I have a program which declares an array of strings like this:</p>
  
  <pre><code>char *colors[4] = {"red", "orange", "yellow", "blue"};
  </code></pre>
  
  <p>But I get the above compiler warning. It compiles but I'd rather use the non-deprecated way(if there is one). I've tried to find out what it means, but I can't seem to figure it out. I've heard using 'const' before 'char' works, but it would be helpful if someone could explain what the error means. Thanks.</p>