C ++中string类型与char*类型的字符串比较的一种实例,使用strcmp比较时需先将string转换成char*类型再比较,此时可以用c_str()函数转换。 当然compare其中 ...
確定! 回上一頁