c++ change case of character in string