instring - cout <<...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
// instring.cpp / #include <iostream.h> #include "apstring.h" # int main() { apstring FirstName; apstring LastName; cout << "Enter your first name: "; getline(cin, FirstName);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: cout &lt;&lt; &quot;Enter your last name: &quot;; getline(cin, LastName); cout &lt;&lt; &quot;Your name is &quot; &lt;&lt; FirstName &lt;&lt; &quot; &quot; &lt;&lt; LastName &lt;&lt; &quot;.\n&quot;; return 0; }...
View Full Document

Ask a homework question - tutors are online