//strcmp只能运用于数组的比较 //string类可以用成员函数compare() //即a.compare(b) //例如 "; "; a.compare(b)返回值= "; "; a.compare(b)返回值< "; "; a.compare(b)返回值>