std::toupper returns a value rather than modifying its argument. So you need to do: str1[i] = std::toupper(str1[i]); str2[i] ...
確定! 回上一頁