1. 把字母替换成它后面的第4个字母。如:a->e, A->E, X->b, y->c
2. 翻转整个字符串
#include <iostream> #include <string.h> using namespace std; void strEncode(char * src) { if (src == NULL) return; char * p = src; while (*p != '