1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 5 //字符串中删除某一个字符 6 void deletech(char *str,char ch) 7 { 8 if (str == NULL) 9 { 10 return; 11 } 12 13 char *pstr = str; 14 while (*str != '
1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 5 //字符串中删除某一个字符 6 void deletech(char *str,char ch) 7 { 8 if (str == NULL) 9 { 10 return; 11 } 12 13 char *pstr = str; 14 while (*str != '