// Code derived from Stroustrup's PPP2 book// § 8.7.1 using declarations and using directives// -and beginning on p 296#include<iostream> // get the iostream library#include<string> // get the string libraryusingnamespacestd;// make names from std directly accessibleintmain(){stringname;cout<<"Please enter your first name\n";cin>>name;cout<<"Hello, "<<name<<'\n';}