//File: string3.cpp #include #include using namespace std; //The following program takes a line of text and echoes it to the screen int main() { string line; getline (cin, line); //new version of getline specific to new string class cout << line << endl; return 0; }