C++ Programming help!

Rewrite the program example given. This time, ask the user to enter his first and last names, separated by a space, on one line (i.e., use one “ cin >>” operation to read both the first and last name in one pass). Does a problem occur? If so, describe it in complete sentences. Then try and find a temporary “workaround” to the problem, by any means possible.

//===================================================================
// print_string.cpp By Frank Luna
//===================================================================

#include 
#include

int main( )

std::string firstName = “”;

std::cout << “Enter your first name and press Enter: “;

std::cin >> firstName;

std::cout << std::endl;

std::cout << “Hello, ” << firstName << std::endl << std::endl;
}

 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.