title: A value of type "*const char *" cannot be assigned to an entity of type "char *"
body: <p>So I am trying to avoid using strings for this. I am basically trying to make a string array.</p>
  
  <pre><code>char **hourtimes = (char**)malloc(100 * sizeof(char*));
  
      for (int i = 0; i &lt; 100; i++) {
          (*hourtimes) = (char*)malloc((100 * sizeof(char)));
      }
  </code></pre>
  
  <p>So I made a string array basically here</p>
  
  <p>Now, I want to make <code>hourtimes[0] = "twelve"</code>;</p>
  
  <p>I tried doing <code>*hourtimes = "twelve";</code> </p>
  
  <p>but I get the same error, I think this works in c, but I'm using c++</p>
  
  <p><code>hourtimes[0][0] = 't';</code>
  <code>hourtimes[0][1] = 'w';</code></p>
  
  <p>etc works just fine but that would be too cumbersome</p>