Write your question here.
My code successfully gets user input for a first input of full name, then gets user input for a new last name no matter how many spaces and is supposed to output the user's first name followed by the entire new last name. Everything works except it doesn't capture the first word of the new last name. I've tried removing the first cin and just using getline, but that breaks everything.
I'm so close to finishing this program, but I'm stuck on this problem.