Using the cin.getLine()
<p>I am having a problem using the cin.getLine()</p>

<pre><code>/*
 * 
 */

int main(int argc, char** argv) {
  char *first, last;


  cout &lt;&lt; "Enter your first anames: ";
  cin.getline(first,255);
  cout &lt;&lt; "Your initials are " &lt;&lt; first;

  return 0;
}
</code></pre>
