for(char c:buf) {
   char s = (char) (c+3);
   ......
}buf[]中字符数组不确定,当中字符进行+3运算后,放到新的字符数组 arr[]中 ,如何现实简便?