https://blog.csdn.net/weixin_43828245/article/details/90180568
用法:getline(cin,str); // 前面的cin是固定的, 后面的str是变量名,必须是string类型的