... 位置 2 的字元:" <<str1.at(2) << endl; //字串相加、附加 21 str3 = str1 + str2; ... //str3 的"56abc"在"465ba"中並沒有 c,所以回傳 c 在 str3 的索引位置 str2 ...
確定! 回上一頁