*** 自写代码:实现字符串循环右移

#include #include using namespace std; // not using string library char * rightLoop1 (char * src, int n) { if (src==NULL) return NULL; char * p = src; while (*p++); int len = p-1-sr...
posted @ 2018-12-23 19:05  super行者  阅读(332)  评论(0编辑  收藏  举报