Hi, I got a really simple question.
string str;
cin >> str;
cout << str;
if I type in "Hello World" the output I get is only "Hello". I know it probably has to do with whitespace. So my question is how I should write if I want the whitespace as well?
I have also tried to use getline(cin, str); but it will only read input first time and skip the rest