In C++, what function can be used for inputting a string containing spaces? code example Example: how to make string get spaces c++ string s; getline(cin,s);