#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#define Max 100
#define TRUE 1
#define FALSE 0
typedef unsigned char SString[Max+1];
typedef int Status;
Status StrAssign(SString T,char *strs)
{ // 生成一个其值等于chars的串T
int i;
T[0]=0;
for(i=
C语言数据结构——子串在主串中的定位函数
最新推荐文章于 2024-05-05 15:22:58 发布