#include <string>
std::string input;
std::cin >> input;
The user want to type "Hello World." 
However, cin fails to recognise the space between the two words. 
How do I get Cin to see the entire Hello World?
I'm trying this using structs, and cin.getline doesn't appear to work. 
This is my code:
struct cd
{
  ...READ MORE
Aug 11, 2022
in C++
by 
Nicholas
• 7,760 points 
•
1,761 views