title: D programming language char arrays
body: <p>This may sound really stupid. but I've got a strange problem with the D programming language. When I try to create a new array like this:</p>
  
  <pre><code>import std.stdio;
  
  void main()
  {
      char[] variable = "value";
      writefln(variable);
  }
  </code></pre>
  
  <p>The DMD compiler always gives me this error:</p>
  
  <blockquote>
    <p>test.d(5): Error: cannot implicitly
    convert expression ("value") of type
    invariant(char[5u]) to char[]</p>
  </blockquote>
  
  <p>Any idea why? I'm using the 2.014 alpha (available <a href="http://digitalmars.com/d/2.0/changelog.html" rel="nofollow noreferrer">here</a>) for Ubuntu.</p>