title: Want to display full name of customer in c++
body: <pre><code>char custname[50];
  </code></pre>
  
  <p>User name is custname of array with 50 values in it.<br/></p>
  
  <pre><code>cin&gt;&gt;custname;
  cout&lt;&lt;custname;
  </code></pre>
  
  <p><br/> <br/>
  How It should take firstname middlename lastname of customer in array.</p>
  
  <p>I did a C++ Program in which I want to enter my customers full name and also want to display it. Whenever I enter the name it omit the part after space. I am new to c++ so please any help appreciated.</p>