#include using namespace std; int main() { string str; cout << "半角スペースを含んだ1行をstrに入力:"; cin >> str; cout << str << endl; }