// Code derived from Stroustrup's PPP2 book// § 8.7.1 using declarations and using directives// -and beginning on p 296// This is the 1st preferred form by most professionals#include<iostream> // get the iostream library#include<string> // get the string libraryusingstd::cin;// cin means std::cinusingstd::cout;// cout means std::coutusingstd::string;// string means std::stringintmain(){stringname;cout<<"Please enter your first name\n";cin>>name;cout<<"Hello, "<<name<<'\n';}