void replace_string(std::string &res ){
//删除换行符
int ret = res.find('\r\n');
while (ret != string::npos)
{
if (ret != string::npos)
{
res.replace(ret , 4, "");
ret = res.find('\r\n');
}
}
//删除所有空格
res.erase(std::remove_if(res.begin(), res.end(), std::isspace), res.end());
}