#include <iostream>
usingnamespace std;
int main()
{
string name;
cout << "Welcome, What is your name?" << endl;
cin >> name;
cout << name << endl;
}
When you enter strings with a space, it doesn't print out the part of the string after the space. Why? I'm pretty new to C++ and I can't figure this out.