string1 赋值 string s=“abcd4”; cin>>s;遇到空格结束 getline(cin,s);遇到换行结束 比较 都有 添加 s+= 在s后面添加 删除 s.erase(4,8);删除从4起 的八个字符