title: Convert char to wchar_t
body: <p>In the following code how do I read <em>path1</em> and <em>path2</em> from arguments(<code>argv</code>)? How do I convert <code>argv[1]</code> and <code>argv[2]</code> to wide string format so that it's possible to use them as <code>_wrename</code> arguments?</p>
  
  <pre><code>int main(int argc, const char *argv[])
  {
    const wchar_t path1[] = L"/tmp/a";
    const wchar_t path2[] = L"/tmp/b";
    _wrename(path1, path2);
    return 0;
  }
  </code></pre>