Use your mouse to copy and paste the following C++ program into
your Emacs buffer. Simply drag the mouse over the program with the
left mouse button depressed to highlight it, then put the mouse into
the Emacs window and click the middle mouse button.
#include <iostream>
#include <string>
using namespace std;
// A simple name-echoing program.
// Art Lee, January 8, 2001
int main () {
string s;
cout << "Please enter your name: ";
getline(cin, s);
cout << "Hello " << s << endl;
cout << "Have fun in cs2010...!..." << endl;
return 0;
}