1 Star 0 Fork 0

維克多 / Cpp Course

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
000 208 Bytes
一键复制 编辑 原始数据 按行查看 历史
維克多 提交于 2020-12-02 18:17 . add 000.
void Shift( char *s ){
char s1[3] = {*s, *(s+1), *(s+2)};
int i, j;
for(i=3; *(s+i); i++)
{
*(s+(i-3)) = *(s+i);
}
for(j=i-3,i=0; i<3; i++)
{
*(s+(j++)) = s1[i];
}
}
C++
1
https://gitee.com/ggfvictor/cpp-course.git
git@gitee.com:ggfvictor/cpp-course.git
ggfvictor
cpp-course
Cpp Course
master

搜索帮助