I'm new here so please excuse if I didn't explain the question well or something. This is my code, and I'm trying to get user input. The thing is I want to print out what the user says even if they include spacing. However, I'm stuck. This is my code... any ideas? Thank you in advance!
#include <iostream>
#include <string>
int main() {
char name[200];
std::cout << "What is your name? ";
std::getline( std::cin, name );
std::cout << "Welcome to CS adventures, " << name <<"!";
}