#include<stdio.h>
#include<string.h>
#define MAX 100
/*
串str存在,
pos是字符的位置,从1开始;1 <= pos <= strlen(str) - len + 1
len是将要删除的子串长度
strdelete函数作用:
从串str中删除第pos个字符起长度为len的字串
*/
void strdelete(char *str, int pos, int le
#include<stdio.h>
#include<string.h>
#define MAX 100
/*
串str存在,
pos是字符的位置,从1开始;1 <= pos <= strlen(str) - len + 1
len是将要删除的子串长度
strdelete函数作用:
从串str中删除第pos个字符起长度为len的字串
*/
void strdelete(char *str, int pos, int le