c ++中的size()和length()没有区别都是求字符串的长度。 例如: string str="0123456789" cout <<"str.length()="<<str.length()<<endl;//结果为10 cout ...
確定! 回上一頁