title: How convert cin to const char*
body: <p>In my program I get input via iostream:</p>
  
  <pre><code>char input[29];
  cin &gt;&gt; input;
  </code></pre>
  
  <p>I need to use this input a parameter for this class that has this parameter as its constructor</p>
  
  <pre><code>class::class(const char* value) {
    /* etc */ }
  </code></pre>
  
  <p>Any idea on how to convert it?</p>
  
  <p>Thanks</p>