string类实践 #include <iostream> #include <string> #include <sstream> #include <algorithm> using namespace std