void ShowChar(string str) { for (int i = 0; i < str.length(); ++i) { printf("str[%d] = %c\n", i + 1,str[i]); }}