// PL3/cstringstream.cpp // Demonstration of strings using the modern syntax // Niels Walet, last updated 04/12/2019 #include #include using std::string; int main() { string my_first_string{"Hello, world!"}; std::cout<>input_string; std::cin.ignore(); std::cout<<"Enter a phrase: "; getline(std::cin,input_string); // string my_second_string{" C++ rocks!"}; // match if(my_first_string == my_second_string) std::cout<<"Strings match!"<