数据结构之顺序串的基本操做——C语言

#include <stdio.h> #include <stdlib.h> #define MaxSize 100 typedef struct { char data[MaxSize]; int len; }SqString; void StrAssign(SqString &str,char cstr[]) { int i; for (i=0;cstr[i]!='
相关文章
相关标签/搜索