标签:space scroll index pac 替换 none ack one char
char* replaceSpace(char* s){
char str[10000] ={0};
int index = 0;
while(*s)
{
if (*s == 0x20)
{
str[index++] = 0x25;
str[index++] = 0x32;
str[index++] = 0x30;
s++;
continue;
}
str[index++] = *s;
s++;
}
s = str;
return s;
}
标签:space scroll index pac 替换 none ack one char
原文地址:https://www.cnblogs.com/ganxiang/p/13511503.html