删除字符串中的子串

输入2个字符串S1和S2,要求删除字符串S1中出现的全部子串S2,即结果字符串中不能包含S2。 输入样例: Tomcat is a male ccatat cat 输出样例: Tom is a malecss #include<stdio.h> //Tomcat is a male ccatat //cat int main () { char s1[81], s2[81]; g
相关文章
相关标签/搜索