#include <stdio.h>
#include <string.h>
//查找
int replace_str( char*str, char* sub, char* repstr);
//替换
int replace_str_step2( char*str, char* sub, char* repstr, int t);
int main()
{
char str[100], sub[80], repstr[80];
int n;
gets(str);
gets
纯c实现字符串中字串的查找与替换
最新推荐文章于 2023-12-23 17:27:18 发布