The C Programming Language Example and Python Implemented

虽然有好用的Python,但仍是得接触下C python 过滤字符串多余的字符 C #include <stdio.h> void squeeze(char s[], char c){ int i, j; for (i = j = 0; s[i] != '\0'; i++){ if (s[i] != c){ s[j++] = s[i];
相关文章
相关标签/搜索